Controlsregistry/ui/tag.tsx/r/tag.json
Tag
Flat inline highlighter strip (--f-marker background under --f-marker-ink uppercase monospace text).
Light · Paper.f12-theme-light
Interactive previewExample dataProduction · US-East12fps · On Twos
Dark · Flashback.f12-theme-dark
Interactive previewExample dataProduction · US-East12fps · On Twos
Install & copy-in source
shadcn CLI (tag.json)
npx shadcn@latest add https://frame12.dev/r/tag.jsonUsage example (Tag)
import { Tag } from '@/components/frame12';
export function EyebrowTag() {
return <Tag>Example data</Tag>;
}WCAG AAAccessibility guarantees
Accessibility notes
- Maintains 14.8:1 contrast ratio in both light and dark themes because --f-marker-ink stays dark ink.
GrammarFRAME/12 rules
Design grammar
- Marker yellow flags metadata and status callouts; it is never used as a text color or line stroke.
Props & TypeScript API
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | required | Short metadata label rendered inside the marker strip. |