Ripple

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-ripple

About this component

A soft white ripple circle expands from the exact click point and fades out: Material Design's satisfying click feedback pattern. Pure CSS animation, no dependencies.

Triggers

  • Click

Techniques

  • Keyframes
  • CSS variables

Difficulty

Beginner

Accessibility

Reduced motion

Ripple animation skipped under prefers-reduced-motion.

Use it in anything you build, commercial and client work included. Licence

More buttons

See all
Rotating GradientGet code
ShockwaveGet code