Skip to content

pantoken-root / renderers/web-components/src / badge

Variable: badge ​

const badge: ElementDefinition

Alpha

<instui-badge> — a small count/status badge. The variant attribute maps to the -color-<variant> modifier; slotted content is the count or label.

Example ​

html
<instui-badge variant="danger">9</instui-badge>