# Bubble Background — 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.

Blurred cyan, violet and magenta glows drifting and orbiting over a deep violet-to-blue field

- **Install:** `npx shadcn@latest add @animate-ui/backgrounds-bubble`
- **Registry:** animate-ui · **Framework:** react · **License:** MIT + Commons Clause
- **Docs and preview:** https://animate-ui.com/docs/backgrounds/bubble
- **Source:** https://github.com/imskyleen/animate-ui/blob/main/apps/v2/registry/backgrounds/bubble/index.tsx
- **Example:** https://skills.varg.ai/previews/lib-animate-ui-bubble-background.mp4?v=22245 (Captured from the library’s own demo page (Animate 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 the Bubble Background from Animate UI (https://animate-ui.com/docs/backgrounds/bubble, MIT + Commons Clause) as the full-frame backdrop behind my title. Install it with `npx shadcn@latest add @animate-ui/backgrounds-bubble` and place <BubbleBackground className="absolute inset-0" /> at the bottom layer of the frame. Its five blobs move on Motion loops (two drift back and forth over 30 s and 40 s, three orbit over 20–40 s), which run on wall-clock time, so drive them from the frame instead: in Remotion compute each blob's translate and rotation from useCurrentFrame() / fps with the same periods; in HyperFrames rebuild the five loops as a paused GSAP timeline. Leave interactive off. Set `colors` (six r,g,b strings) to my palette and keep the text on top with good contrast.

## 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`
