Buttons
Ripple tap button
Ripple tap button: A solid button that sends a circle outward from the exact point you pressed, clipped to its rounded shape.
Using Ripple tap button
Ripple tap 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 | Deploy build | Up to 24 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
rippleSeconds | number | 0.6 | From 0.2 to 1.5; step 0.05 |
pressScale | number | 0.95 | From 0.85 to 1; step 0.01 |
size | select | md | Options: sm, md, lg |
Which frameworks are available for Ripple tap button?
Ripple tap 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 Ripple tap button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Ripple tap button?
The React source for Ripple tap button includes: attributes and handlers (aria-hidden, onKeyDown); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Ripple tap button handle reduced motion?
Ripple tap button reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.