API reference: @salmonui/notifications/badge
Badgefunction
import { Badge } from '@salmonui/notifications/badge';function Badge(props: BadgeProps): ReactElement;
Badge. Inline (<Badge tone="success">Paid</Badge>) it is a text label,
or a status with variant="dot"; with content or dot it overlays its children at a logical corner.
Styling hooks: .salmon-badge with data-tone, data-variant,
data-shape, data-dot, data-invisible; overlay hosts are
.salmon-badge-host with data-placement and data-overlap. To fit the
0.5 KB budget a data-* hook is written only when its prop is set; the
stylesheet applies the defaults when it is absent.