# Ripple — component for backgrounds & gradients (react)

> **For AI agents:** find the right skill in one call — `curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"` returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the use-case page.

Soft concentric rings around a centred word, breathing in and out in a staggered wave

- **Install:** `npx shadcn@latest add @magicui/ripple`
- **Registry:** magic-ui · **Framework:** react · **License:** MIT
- **Docs and preview:** https://magicui.design/docs/components/ripple
- **Source:** https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/ripple.tsx
- **Example:** https://skills.varg.ai/previews/lib-magic-ui-ripple.mp4?v=31225 (Captured from the library’s own demo page (Magic UI))
- **Time:** Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- **Runs:** local render, free
- **Aspect:** any

## Prompt that renders it frame-exact

Use Ripple from Magic UI (https://magicui.design/docs/components/ripple, MIT) behind a logo, an app icon or one word in the middle of the frame. The rings are divs that scale down and back on a CSS keyframe, each with a slightly later delay and lower opacity, which reads as a slow wave. HyperFrames' CSS adapter can seek them with a finite iteration count; in Remotion compute each ring's scale from ((frame / fps) - i * ringDelay) % period. Set mainCircleSize, mainCircleOpacity and numCircles, and tint the ring fill and border from the brand.

## Used in

- [Year in review / Wrapped](https://skills.varg.ai/video/wrapped.md)
- [Lyric video](https://skills.varg.ai/video/lyric-video.md)
- [Karaoke video](https://skills.varg.ai/video/karaoke.md)
- [Logo sting](https://skills.varg.ai/video/logo-sting.md)
- [Title sequence](https://skills.varg.ai/video/title-sequence.md)
- [Brand guidelines film](https://skills.varg.ai/video/brand-guidelines.md)
- [Stream overlay package](https://skills.varg.ai/video/stream-overlay.md)
- [Shader loop](https://skills.varg.ai/video/shader-loop.md)

## More backgrounds & gradients

- [Aurora](https://skills.varg.ai/component/hf.aurora.md) — `npx hyperframes add aurora`
- [Aurora Drift](https://skills.varg.ai/component/hf.aurora-drift.md) — `npx hyperframes add aurora-drift`
- [Flowing Gradient](https://skills.varg.ai/component/hf.flowing-gradient.md) — `npx hyperframes add flowing-gradient`
- [Mesh Gradient](https://skills.varg.ai/component/hf.mesh-gradient.md) — `npx hyperframes add mesh-gradient`
- [Mesh Gradient Background](https://skills.varg.ai/component/hf.mesh-gradient-bg.md) — `npx hyperframes add mesh-gradient-bg`
- [Minimal Gradient Background](https://skills.varg.ai/component/hf.mk-background.md) — `npx hyperframes add mk-background`
