Tag
A bracketed mono label: section names, file metadata, versions.
import { Tag } from "@forgeron/ui";import { Tag } from "@forgeron/ui";
export default function Default() {
return (
<>
<Tag strong="/0.1">Atoms</Tag>
<Tag strong="v0.3.0">Apache-2.0</Tag>
<Tag>12 px grid</Tag>
</>
);
}API → Props
| Prop | Type | Default | Description |
|---|---|---|---|
strong | ReactNode | — | The part set in ink. |
children | ReactNode | — | The rest, in muted ink. |
className | string | — | Extra classes. |