Buttons
Settling shadow button
Settling shadow button: A warm gradient pill that floats above a large accent tinted shadow and lands on hover as the shadow disappears.
Using Settling shadow button
Settling shadow 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 | Reserve | Up to 20 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
lift | number | 3 | From 1 to 10; step 1 |
shadowSize | number | 30 | From 8 to 60; step 2 |
width | number | 150 | From 100 to 280; step 10 |
Which frameworks are available for Settling shadow button?
Settling shadow 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 Settling shadow button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Settling shadow button?
The React source for Settling shadow button includes: native elements (button); attributes and handlers (onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Settling shadow button handle reduced motion?
Settling shadow 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.