Badge
@sushindustries/uiA word wearing a fill, in the site's own tone pairs - a badge invents no colour of its own.
Props
| Prop | Type | Default | Does |
|---|---|---|---|
children | ReactNode | - | |
tone? | string | - | Colour family, resolved by the stylesheet. Absent is the quiet default. |
Notes
BadgeBadgeA word wearing a fill, in the site's own tone pairs - a badge invents no colour of its own.@sushindustries/ui · content has no href or onClick - it is always a <span>. Wrapping it
in a link or a button is the caller's job, and doing so changes nothing
about the badge's own markup or styling.