Animated Background — component for app & ui mockups (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 .md to its path. Before generating anything, show the person the options on the use-case page.

A rounded highlight pill slides between tab items as the active tab changes

Prompt that renders it frame-exact

Show a navigation or tab switch in a UI walkthrough with Motion Primitives' Animated Background (https://motion-primitives.com/docs/animated-background, MIT): a highlight pill glides between items in a tab bar placed where the app shows it. Install with npx motion-primitives@latest add animated-background. The pill moves with a shared layoutId layout animation that measures the DOM at runtime, so for a render measure each tab's x and width once and interpolate the pill's position and width from frame / fps (Remotion), or tween it on the paused HyperFrames timeline. Set defaultValue, the transition (spring bounce and duration) and className for the pill color; keep enableHover off.

Used in

More app & ui mockups