# Pinned Mock, Changing States — effect skill for UI walkthroughs

> **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.

One product frame stays put while tabs or captions switch it through several feature states.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [UI walkthroughs](https://varg.ai/how-to/browse/skills/ui.md)
- **Slug:** `pinned-mock-changing-states`
- **Status:** live
- **Publisher:** HeyGen (community)
- **License:** Apache-2.0
- **Source:** https://github.com/heygen-com/hyperframes/tree/main/registry/components/sticky-mock-swap
- **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 [Sticky Mock Swap](https://github.com/heygen-com/hyperframes/tree/main/registry/components/sticky-mock-swap) by HeyGen (HyperFrames), Apache-2.0. The write-up and recipes below are varg's.

The mock holds center; a tab indicator slides between labels and the screen cross-fades to the matching state.

**When:** Walk through 3–5 features quickly without re-establishing the UI each time.

**Watch out:** Do not move the mock between states; stillness is what makes the changes readable.

**Timing:** Indicator slide 0.3 s, screen cross-fade 0.25 s, 2–3 s per state.

**Also called:** sticky mock, feature tabs, tabbed walkthrough

### In HyperFrames

```bash
npx hyperframes add sticky-mock-swap
npx hyperframes add tabs-slide-indicator
```

### In Remotion

```tsx
// npx shadcn@latest add @remocn/tabs
const active = Math.min(states.length-1, Math.floor(frame/(fps*2.5)));
```

### In CapCut

Stack the state screenshots back to back on one track with 0.25 s "Dissolve" transitions; add a tab bar overlay with a moving highlight shape.

### Ready-made components

- [Sticky Mock Swap](https://skills.varg.ai/component/hf.sticky-mock-swap/) (hyperframes): npx hyperframes add sticky-mock-swap
- [Tabs Slide Indicator](https://skills.varg.ai/component/hf.tabs-slide-indicator/) (hyperframes): npx hyperframes add tabs-slide-indicator
- [Animated Background](https://skills.varg.ai/component/motionprimitives.animated-background/) (motion-primitives): npx motion-primitives@latest add animated-background
- [UI Tabs](https://skills.varg.ai/component/remocn.tabs/) (remocn): npx shadcn@latest add @remocn/tabs

### Where this comes from

- [Bohdan Motion: X launch video, 40% of runtime on real UI](https://x.com/bohdanmotion/status/2079611760894431568)
- [Jitter: UI element templates](https://jitter.video/templates/ui-elements)

## Use when

- Walk through 3–5 features quickly without re-establishing the UI each time.

## Not for

- Do not move the mock between states; stillness is what makes the changes readable.

## 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/ee9214ed3536/take-pinned-mock-changing-states.mp4 — The Sticky Mock Swap component rendered as installed (npx hyperframes add sticky-mock-swap), defaults only (credit: Rendered by varg · HyperFrames Sticky Mock Swap, https://hyperframes.heygen.com/catalog/components/sticky-mock-swap)

## More UI walkthroughs skills

- [Zoom to the Action](https://varg.ai/how-to/skills/zoom-to-the-action.md): The full app establishes, then the camera pushes 1.5–2× into the part being used and eases back out.
- [3D Tilted Dashboard Reveal](https://varg.ai/how-to/skills/tilted-dashboard-reveal.md): The dashboard rises from a steep 3D tilt to flat, like a screen lifting toward the viewer.
- [Floating UI Panels in Depth](https://varg.ai/how-to/skills/floating-ui-panels.md): The interface splits into its panels, which float apart in depth with parallax, then snap back.
- [UI Builds Itself Piece by Piece](https://varg.ai/how-to/skills/ui-builds-itself.md): Grey skeleton blocks pulse once, then real cards, charts and text fill in with a stagger.
- [Before/After UI Wipe](https://varg.ai/how-to/skills/before-after-ui-wipe.md): A divider sweeps across one screen, turning the old version into the new one underneath.
- [Card Expands Into Detail](https://varg.ai/how-to/skills/card-expands-to-detail.md): A small card grows into a full detail panel in one continuous shape change.

## 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
