Gradient 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.mdto its path. Before generating anything, show the person the options on the use-case page.
A purple-to-pink diagonal gradient sliding slowly back and forth across the frame
- Install:
npx shadcn@latest add @animate-ui/backgrounds-gradient - Registry: animate-ui · Framework: react · License: MIT + Commons Clause
- Docs and preview: https://animate-ui.com/docs/backgrounds/gradient
- Source: https://github.com/imskyleen/animate-ui/blob/main/apps/v2/registry/backgrounds/gradient/index.tsx
- Example: https://skills.varg.ai/previews/lib-animate-ui-gradient-background.mp4?v=31407 (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
Put Animate UI's Gradient Background (https://animate-ui.com/docs/backgrounds/gradient, MIT + Commons Clause) behind my title card. Install with npx shadcn@latest add @animate-ui/backgrounds-gradient. It is a 400%-sized Tailwind gradient whose background-position Motion animates from 0% 50% to 100% 50% and back every 15 s. For a frame-exact render skip Motion: in Remotion set backgroundPosition from interpolate(frame % (15 * fps), [0, 7.5 * fps, 15 * fps], [0, 100, 0]); in HyperFrames use a CSS keyframe or a paused GSAP tween on background-position. Swap the from/via/to colours for my brand and shorten the period if the clip is short.
Used in
- Year in review / Wrapped
- Lyric video
- Karaoke video
- Logo sting
- Title sequence
- Brand guidelines film
- Stream overlay package
- Shader loop
More backgrounds & gradients
- Aurora —
npx hyperframes add aurora - Aurora Drift —
npx hyperframes add aurora-drift - Flowing Gradient —
npx hyperframes add flowing-gradient - Mesh Gradient —
npx hyperframes add mesh-gradient - Mesh Gradient Background —
npx hyperframes add mesh-gradient-bg - Minimal Gradient Background —
npx hyperframes add mk-background