Buttons
Gap stretch arrow button
Gap stretch arrow button: A fixed width pill whose trailing arrow walks to the far edge on hover, stretching the gap after a stationary label, with a faint trail copy following a beat behind.
Using Gap stretch arrow button
Gap stretch arrow button 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 |
|---|---|---|---|
label | text | Enter room | Up to 24 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
width | number | 200 | From 140 to 320; step 10 |
travel | number | 15 | From 0 to 40; step 1 |
trail | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Gap stretch arrow button?
Gap stretch arrow button 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 Gap stretch arrow button depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Gap stretch arrow button?
The React source for Gap stretch arrow button 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 Gap stretch arrow button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Gap stretch arrow button'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.