Ripple press

From nexu-io/motion-anything · View interactive version

Ripple press is an AI agent skill from the GitHub repository nexu-io/motion-anything. Acknowledge a tap/click with a ripple that blooms from the exact press point. Fast and low-opacity so it reads as feedback, not decoration. No ripple under prefers-reduced-motion (native :active covers it). Avoid on destructive actions and text links.

How to use this skill

Skill file

ripple-press

A ripple that blooms from the press point. Part of

motion-anything; obeys MOTION-SPEC.md. Based on the

Material state-layer interaction, reimplemented dependency-free.

When to use it

When NOT to use it (restraint)

How to apply

  1. Copy ripple.css and ripple.js into the project, and link them.
  2. Mark the button (it should be position:relative; overflow:hidden — the CSS sets this):

```html

<button class="ripple">Save</button>

```

  1. Auto-attaches to .ripple; a wave spawns at the pointer point and cleans itself up.

Accessibility & performance

Framework notes

currentColor — set text color to control it.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.