Buttons
Growing ledge button
Growing ledge button: A solid accent button resting on a darker bottom ledge that thickens and lifts on hover, then thins and sinks under a press.
Using Growing ledge button
Growing ledge 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 |
|---|---|---|---|
accent | color | #38BDF8 | No additional limit in the metadata. |
label | text | Deploy | Up to 20 characters |
ledge | number | 4 | From 2 to 10; step 1 |
hoverLedge | number | 6 | From 2 to 14; step 1 |
radius | number | 8 | From 0 to 20; step 1 |
Which frameworks are available for Growing ledge button?
Growing ledge 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 Growing ledge button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Growing ledge button?
The React source for Growing ledge 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 Growing ledge button handle reduced motion?
Growing ledge 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.