Buttons
Grounded download pill
Grounded download pill: A fully rounded download button with an accent-tinted shadow that tightens on press while its arrow dips and springs back.
Using Grounded download pill
Grounded download pill 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 | Download | Up to 20 characters |
accent | color | #7C5CFF | No additional limit in the metadata. |
shadowSpread | number | 1 | From 0 to 2; step 0.1 |
pressScale | number | 0.98 | From 0.9 to 1; step 0.01 |
showIcon | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Grounded download pill?
Grounded download pill 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 Grounded download pill depend on?
The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.
What accessibility details are visible in Grounded download pill?
The React source for Grounded download pill includes: 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 Grounded download pill handle reduced motion?
Grounded download pill reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: scale: pressed && !reducedMotion ? pressScale : 1; y: pressed && !reducedMotion ? [0, 3.5, 0] : 0. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.