Buttons
Hinged progress button
Hinged progress button: A button whose face hinges backward on hover, exposing a tray where a progress bar fills in uneven bursts and fades out at full width.
Using Hinged progress button
Hinged progress 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 | Sync library | Up to 32 characters |
accent | color | #9BE15D | No additional limit in the metadata. |
tilt | number | 35 | From 10 to 60; step 5 |
barDuration | number | 1.2 | From 0.6 to 2.4; step 0.1 |
depth | number | 800 | From 300 to 1600; step 100 |
Which frameworks are available for Hinged progress button?
Hinged progress 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 Hinged progress button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Hinged progress button?
The React source for Hinged progress 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 Hinged progress button handle reduced motion?
Hinged progress button 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.