Attention Pulse

A soft expanding ring that draws the eye to ONE element — a primary CTA, an unread badge, a new dot. Honors prefers-reduced-motion. One per screen; never use more than one at once or as pure decoration (attention splits and nothing wins).

Nexu Updated 108k repo stars
motion-anything — Anything becomes motion, on your laptop. Editorial dark banner with light-mode app windows: the component-motion workbench and the launch-vide

File contents

attention-pulse

A soft expanding ring to draw the eye to one element. Part of motion-anything; obeys MOTION-SPEC.md.

When to use it

  • A single primary CTA, an unread/new badge, or a notification dot.

When NOT to use it (restraint)

  • More than one pulsing element at once. As decoration with no real call to act.

How to apply

  1. Copy attention-pulse.css and link it.
  2. Add data-pulse to the element (set --pulse-color to match your accent).

Accessibility & performance

  • prefers-reduced-motion: no pulse. Transform/opacity only (GPU-safe).

nexu-io/motion-anything commit 2a5032cde3

Frequently asked questions

npx get-skill add nexu-io/attention-pulse