Data
Badge
A short label on a row or a title: a type, a plan, a count.
Data
A short label on a row or a title: a type, a plan, a count.
Change the props on the right. The badge and its code follow.
import { Badge } from 'omuk-ui/badge';
<Badge>Beta</Badge>Most badges are neutral: the hover fill and muted text. Plan is the one with colour, for a paid feature. Destructive puts the text in the danger colour.
A badge sits beside what it labels: a plan on a heading, a type or a count at the end of a row. An icon in it takes the small size.
And every prop of a <span>.