Magic Rings
Concentric glowing rings that wobble and pulse, each with a bright arc spinning around it.
import { MagicRings } from "pleate/effects/magic-rings";Behind a headline
Ring the changes
Props
- rings
Number of rings (1 to 10).
numberdefault 6- glow
Glow strength.
numberdefault 1- colors
CSS colors or tokens: inner and outer rings. Defaults follow the palette.
string[]- speed
Playback speed.
numberdefault 1- scale
Pattern size; above 1 is bigger.
numberdefault 1- interactive
React to the pointer over the parent.
booleandefault true
Accessibility
- Decorative: the canvas is aria-hidden and ignores pointer events, so content on top stays usable.
- Pauses off screen and in hidden tabs; with reduced motion it shows a still frame.
- Fills its parent: give the parent position relative and the background absolute inset-0.