import { Badge } from '../ui/badge'; import { defineWebComponent } from './define'; interface Props extends Record { /** `default` (muted pill) · `count` (compact number badge) · `citation` * (filled primary, for inline citation markers). Defaults to `default`. */ variant?: 'default' | 'count' | 'citation'; } /** * `` — a small pill for labels, status, counts, or citation markers. * Put the content as light-DOM text. * * ```html * Beta * 3 * 1 * ``` * Restyle via `::part(badge)`. */ defineWebComponent('kai-badge', { variant: 'default', }, (props) => ( <> {/* Base sets `:host{display:block}`; a badge/pill flows inline with text and beside sibling badges, so inline-flex like kai-button. */} ));