Ripple

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-ripple-glass

About this component

A lavender glass button: each press sends a ring of light out through the glass from the exact point you touched, and the tint deepens and lifts on hover.

Triggers

  • Click
  • Hover
  • Glow

Techniques

  • Event position
  • Radial gradient
  • Keyframes
  • CSS variables

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native <button> with its visible label; the rings are aria-hidden. No ring is drawn.

Reduced motion

The transitions and loops stop and the component jumps straight to its final state.

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

More buttons

See all
SageGet code
SparkGet code
HaloGet code
BrickGet code