Retro Grid — 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.
Synthwave floor grid in perspective rolling toward the viewer under a pink-to-orange title
- Install:
npx shadcn@latest add @magicui/retro-grid - Registry: magic-ui · Framework: react · License: MIT
- Docs and preview: https://magicui.design/docs/components/retro-grid
- Source: https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/retro-grid.tsx
- Example: https://skills.varg.ai/previews/lib-magic-ui-retro-grid.mp4?v=72958 (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 Retro Grid from Magic UI (https://magicui.design/docs/components/retro-grid, MIT) as the floor of a full-frame background with a title above the horizon. It is a WebGL shader with a u_time uniform that requestAnimationFrame feeds from the clock, plus a CSS scroll as a fallback. For a render, set u_time from the composition (frame / fps in Remotion, the paused timeline's time in HyperFrames) and draw once per frame. Set angle (tilt), cellSize, opacity and the light and dark line colours from the brand; a neon gradient headline above it is the classic look.
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