# Opposing Marquee Rows — effect skill for grids & carousels

> **For AI agents:** find the right skill in one call — `curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"` returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the how-to page.

Rows of tiles scroll sideways at different speeds and directions under a title.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [Grids & carousels](https://varg.ai/how-to/browse/skills/galleries.md)
- **Slug:** `opposing-marquee-rows`
- **Status:** live
- **Publisher:** Daniel Petho (community)
- **License:** MIT
- **Source:** https://github.com/danielpetho/fancy/blob/main/src/fancy/components/blocks/simple-marquee.tsx
- **Works in:** Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- **Requires:** HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- **Cost:** Free — the take renders locally; generated footage, if any, bills by the model

## What it does

Built on [Simple Marquee](https://github.com/danielpetho/fancy/blob/main/src/fancy/components/blocks/simple-marquee.tsx) by fancy, MIT. The write-up and recipes below are varg's.

Three rows of rounded tiles (templates, outputs) moving left, right, left at 1×, 0.7×, 1.2×; edges fade.

**When:** Background for a title or end card that needs life without stealing focus.

**Watch out:** Do not run rows at the same speed; offset speeds create depth.

**Timing:** Row loops 20–40 s; in a 4 s shot rows move 10–20% of their width.

**Also called:** marquee wall, scrolling rows, tile rows

### In HyperFrames

```bash
npx hyperframes add perspective-marquee
```
Or three flat rows with `tl.to(row,{xPercent: dir*-50, duration: 30/speed, ease:"none"},0)`.

### In Remotion

```tsx
const x = (r:number) => (r%2? 1:-1) * ((frame * speeds[r]) % rowW);
```

### In CapCut

Three long tile strips as overlays; keyframe Position X in alternating directions; mask the edges with gradient.

### Ready-made components

- [Simple Marquee](https://skills.varg.ai/component/fancy.simple-marquee/) (fancy): npx shadcn add @fancy/simple-marquee
- [Marquee](https://skills.varg.ai/component/magicui.marquee/) (magic-ui): npx shadcn@latest add @magicui/marquee
- [Perspective Marquee](https://skills.varg.ai/component/hf.perspective-marquee/) (hyperframes): npx hyperframes add perspective-marquee

### Where this comes from

- [Magic UI: Marquee](https://magicui.design/docs/components/marquee)

## Use when

- Background for a title or end card that needs life without stealing focus.

## Not for

- Do not run rows at the same speed; offset speeds create depth.

## Install

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg`
- Codex: `npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y`
- Cursor: `npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y`

## Example output

https://s3.varg.ai/how-to/previews/85e25819e363/lib-fancy-simple-marquee.mp4 — Preview of the Simple Marquee component that builds this take (credit: Captured from the library’s own demo page (Fancy Components), https://www.fancycomponents.dev/docs/components/blocks/simple-marquee)

## More grids & carousels skills

- [Bento Feature Grid](https://varg.ai/how-to/skills/bento-feature-grid.md): Features land in a grid of differently sized rounded tiles — one hero tile, smaller supporting ones.
- [Camera Drifts Across a Bento](https://varg.ai/how-to/skills/camera-drifts-bento.md): An oversized grid of screenshots fills the frame and the camera drifts diagonally across it.
- [Tilted Screenshot Wall](https://varg.ai/how-to/skills/tilted-screenshot-wall.md): A wall of screenshots seen at an isometric angle, columns scrolling up and down at different speeds.
- [Stacked Cards Fan Out](https://varg.ai/how-to/skills/stacked-cards-fan.md): A pile of cards or photos shuffles, then fans or settles one forward into focus.
- [App Screens on a Rail](https://varg.ai/how-to/skills/app-screens-on-rail.md): Two to five app screens ride a horizontal rail: one centered and sharp, neighbors smaller and receded.
- [Cards Orbit in a Ring](https://varg.ai/how-to/skills/cards-orbit-ring.md): Image cards ride a circle, larger in front and smaller behind, sweeping fast-slow-fast.

## Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg` (skill + hosted MCP)
- Codex, Cursor, Gemini CLI, OpenClaw: `npx skills add vargHQ/skills --skill varg-ai -a <agent> -y`
- Grok and any agent that reads SKILL.md: `npx skills add vargHQ/skills --skill varg-ai`, or point it at the skill's SKILL.md
- Claude.ai, ChatGPT, any MCP client: connect `https://mcp.varg.ai/mcp`
- API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt
