Buttons
Rotating backer button
Rotating backer button: A dark plate with a tinted panel hidden just behind it that spins a half turn on hover while the light spilling past its edges spreads wider.
Using Rotating backer button
Rotating backer 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 | Deploy | Up to 20 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
bloom | number | 16 | From 4 to 48; step 2 |
rotation | number | 180 | From 45 to 360; step 15 |
pressScale | number | 0.7 | From 0.4 to 1; step 0.05 |
Which frameworks are available for Rotating backer button?
Rotating backer 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 Rotating backer button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Rotating backer button?
The React source for Rotating backer button includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Rotating backer button handle reduced motion?
Rotating backer button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: poolTransition: reduced ? { duration: 0.18, ease: "easeOut" as const } : spinSpring; reduced ? { duration: 0 } : spinSpring; spin: reduced ? 0 : active ? rotation : 0. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.