Marquee — component for galleries & carousels (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.
Two rows of testimonial cards drifting sideways in opposite directions, fading out at the left and right edges
- Install:
npx shadcn@latest add @magicui/marquee - Registry: magic-ui · Framework: react · License: MIT
- Docs and preview: https://magicui.design/docs/components/marquee
- Source: https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/marquee.tsx
- Example: https://skills.varg.ai/previews/lib-magic-ui-marquee.mp4?v=47077 (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 Marquee from Magic UI (https://magicui.design/docs/components/marquee, MIT) for a social-proof band: review cards, customer logos or product shots scrolling across the middle of the frame, with a second row reversed. It moves with a CSS keyframe (translateX over --duration, infinite). HyperFrames' CSS adapter can seek it once you give it a finite iteration count that covers the clip; in Remotion set translateX yourself: x = -((frame / fps) / duration % 1) * (trackWidth + gap). Worth changing: --duration (slower reads better on phones), --gap, reverse, vertical for a 9:16 column, and repeat so the track never runs empty.
Used in
- Faceless narrated video
- Top-N listicle
- Meme format
- News explainer
- Year in review / Wrapped
- Scores & match recap
- Flashcards & language drills
- History timeline
More galleries & carousels
- Stamp Carousel —
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/stamp-carousel && bash make.command - Circle Carousel 1 —
npx hyperframes add carousel-circle-1 - Circle Carousel 2 —
npx hyperframes add carousel-circle-2 - Circle Carousel 3 —
npx hyperframes add carousel-circle-3 - Circle Carousel 4 —
npx hyperframes add carousel-circle-4 - Circle Carousel 5 —
npx hyperframes add carousel-circle-5