Buttons
Rolling Label Button
Rolling Label Button: A compact glowing pill that rolls its caption up out of view and brings a second line in from below on hover.
Using Rolling Label Button
Rolling Label Button uses the inline preview frame with a 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 | Download | Up to 18 characters |
hoverLabel | text | For free | Up to 18 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
glow | number | 20 | From 0 to 40; step 1 |
rollMs | number | 450 | From 150 to 900; step 25 |
Which frameworks are available for Rolling Label Button?
Rolling Label 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 Rolling Label Button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Rolling Label Button?
The React source for Rolling Label 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 Rolling Label Button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Rolling Label 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.