Micro-interaction

Ripple

Also called Material ripple, Touch ripple, Ripple Button, Ink ripple

A circular wave expands and fades from the exact point of the click or tap.

Buttons, list items

  • Ripple Button (Magic UI)
  • CSS :active radial-gradient ripple
  • JS click-position ripple

View demo source

Prompt

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.

Add a "Ripple" effect (also called a material ripple or ink ripple) to [where].
On each click or tap, a soft circular wave should spread out from the exact point that was pressed until it covers the element, fading as it grows: quick and light.
Clip the wave to the element's shape, let rapid presses each start their own ripple, and start it from the center for keyboard presses.

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.