Skip to content
Menu

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.

ControlTypeDefaultPreview limits
labeltextDeploy buildUp to 24 characters
accentcolor#FF6A1FNo additional limit in the metadata.
rippleSecondsnumber0.6From 0.2 to 1.5; step 0.05
pressScalenumber0.95From 0.85 to 1; step 0.01
sizeselectmdOptions: 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.

Connect your agent

Related open components