Badge — Playground

px
Neutral
appearance
size
html.html
<span kuiBadge>Neutral</span>
NameTypeDefaultDescription
appearance'neutral' | 'primary' | 'success' | 'warning' | 'danger' | 'info''neutral'Visual badge treatment mapped to Kikita UI status tokens.
size'xs' | 'sm' | 'md' | 'lg''md'Badge size mapped to Kikita UI text and spacing tokens.
--kui-badge-heightCSS length22pxBadge block size. Overridden per size by the size input.
--kui-badge-pxCSS length8pxInline padding. Overridden per size by the size input.
--kui-badge-radiusCSS lengthvar(--kui-radius-full)Corner radius of the badge surface.
--kui-badge-font-sizeCSS length11pxBadge label font size. Overridden per size by the size input.
--kui-badge-neutral-bgCSS color-Background color for the neutral appearance (default).
--kui-badge-primary-bgCSS color-Background color for the primary appearance.
--kui-badge-success-bgCSS color-Background color for the success appearance.
--kui-badge-warning-bgCSS color-Background color for the warning appearance.
--kui-badge-danger-bgCSS color-Background color for the danger appearance.
--kui-badge-info-bgCSS color-Background color for the info appearance.

Inputs verified against @kikita-labs/ui v1.6.1 public typings.