Feedback
Hairline Tone Badge
Hairline Tone Badge: An unfilled pill label whose border and text share one color, so a row of them reads like a printed legend.
Using Hairline Tone Badge
Hairline Tone Badge uses the inline preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
tone | select | good | Options: neutral, good, warn |
accent | color | #3F6F4A | No additional limit in the metadata. |
label | text | Verified | Up to 24 characters |
showDot | boolean | true | No additional limit in the metadata. |
size | select | md | Options: sm, md, lg |
Which frameworks are available for Hairline Tone Badge?
Hairline Tone Badge is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Hairline Tone Badge depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Hairline Tone Badge?
The React source for Hairline Tone Badge includes: native elements (a, button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Hairline Tone Badge handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Hairline Tone Badge's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.