---
title: AnnotationTemplateKit
summary: Variable in @bimworks/viewercommon.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewercommon
---

# AnnotationTemplateKit

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewercommon` · Variable

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
const AnnotationTemplateKit: { readonly css: string; avatar: (name: string, ctx: TemplateContext) => TemplateResult; hoverClass: (ctx: TemplateContext) => string; ink: (fill: string) => string; pill: (color: string, label: string) => TemplateResult };
````

What the built-in card templates share, for an application's own template: include css in the template's css
for the card (.card, .head, .eyebrow, h3, .pill, .facts, .meta, .actions, .button, .avatar) and the raised hover
(.raised, plus hoverClass(ctx))
