Did you know?dyk.si

Ripple Effect

A circle that spreads from where you tap a button, like a wave on water. A Material Design signature.

::after + @keyframes scale

When to use it

To confirm touch on Android.

Common mistake

Keep it fast; under a second.

Accessibility

Feedback should also work for keyboard activation, not just touch.

Name in code

HTML/CSS::after + @keyframes scale
ReactMUI ButtonBase (TouchRipple)
Jetpack Composeripple() Indication (default)
SwiftUIn/a (iOS uses highlight)

Ready prompt for your coding agent

Add a Ripple Effect to this screen. What it is: A circle that spreads from where you tap a button, like a wave on water. A Material Design signature. Implement with: ::after + @keyframes scale (HTML/CSS). Accessibility: Feedback should also work for keyboard activation, not just touch. When to use it: To confirm touch on Android. Avoid: Keep it fast; under a second. Reuse the project's existing design tokens, spacing and component conventions.

Or compose a whole page from this element and others →

Prompts are in English for the most precise results with coding agents.