Marquee Along SVG Path — 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.
A ribbon of colourful tiles snaking along a looping curve across the frame
- Install:
npx shadcn add @fancy/marquee-along-svg-path - Registry: fancy · Framework: react · License: MIT
- Docs and preview: https://www.fancycomponents.dev/docs/components/blocks/marquee-along-svg-path
- Source: https://github.com/danielpetho/fancy/blob/main/src/fancy/components/blocks/marquee-along-svg-path.tsx
- Example: https://skills.varg.ai/previews/lib-fancy-marquee-along-svg-path.mp4?v=110217 (Captured from the library’s own demo page (Fancy Components))
- 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 Along SVG Path from Fancy Components (https://www.fancycomponents.dev/docs/components/blocks/marquee-along-svg-path, MIT). Install with npx shadcn add @fancy/marquee-along-svg-path with the @fancy registry in components.json. Send logos, product thumbnails, stickers or words along a custom curve (a loop, an S, a spiral) as a playful transition or a busy background layer. Set path, viewBox, baseVelocity, direction, repeat and enableRollingZIndex. Motion's useAnimationFrame advances the offset. Set the offset to (frame / fps) * baseVelocity, wrapped to the path length, and turn off draggable, slowdownOnHover and useScrollVelocity.
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