Buttons
Arrow to label pill
Arrow to label pill: A round chevron button that stretches into a wide labeled pill on hover, trading the mark for a word as the flat fill becomes a two-stop ramp.
Using Arrow to label pill
Arrow to label pill 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 |
|---|---|---|---|
accent | color | #9BE15D | No additional limit in the metadata. |
partner | color | #F5C542 | No additional limit in the metadata. |
label | text | See the roadmap | Up to 24 characters |
expandedWidth | number | 168 | From 100 to 280; step 4 |
duration | number | 300 | From 100 to 900; step 25 |
Which frameworks are available for Arrow to label pill?
Arrow to label pill 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 Arrow to label pill depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Arrow to label pill?
The React source for Arrow to label pill includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Arrow to label pill handle reduced motion?
Arrow to label pill reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.