Buttons
Tinted shadow buttons
Tinted shadow buttons: A row of solid buttons that each cast a soft shadow in their own hue, so the color of every action bleeds onto the surface underneath it.
Using Tinted shadow buttons
Tinted shadow buttons uses the wide 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. |
count | number | 4 | From 2 to 6; step 1 |
hueSpread | number | 40 | From 0 to 120; step 5 |
shadowStrength | number | 0.5 | From 0 to 1; step 0.05 |
radius | number | 8 | From 4 to 24; step 1 |
Which frameworks are available for Tinted shadow buttons?
Tinted shadow buttons 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 Tinted shadow buttons depend on?
The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.
What accessibility details are visible in Tinted shadow buttons?
The React source for Tinted shadow buttons 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 Tinted shadow buttons handle reduced motion?
Tinted shadow buttons 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.