Buttons
Morphing backdrop button
Morphing backdrop button: A bare text label backed by a coloured slab and a translucent corner disc that swell and square off into a new button face on hover.
Using Morphing backdrop button
Morphing backdrop 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 | Hover me | Up to 20 characters |
accent | color | #FF4D8D | No additional limit in the metadata. |
discSize | number | 35 | From 16 to 64; step 1 |
duration | number | 400 | From 150 to 900; step 50 |
offset | number | 10 | From 0 to 24; step 1 |
Which frameworks are available for Morphing backdrop button?
Morphing backdrop 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 Morphing backdrop button depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Morphing backdrop button?
The React source for Morphing backdrop button includes: native elements (button); attributes and handlers (aria-hidden, onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Morphing backdrop button handle reduced motion?
Morphing backdrop 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.