Border Trail — primitive for entrances & emphasis (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 short bright segment races around the border of a dark card in an endless loop

Prompt that renders it frame-exact

Run Motion Primitives' Border Trail (https://motion-primitives.com/docs/border-trail, MIT) around a card, input or screenshot frame to show something is loading or to draw the eye. Install with npx motion-primitives@latest add border-trail. The light moves along the border with CSS offset-path while Motion animates offsetDistance from 0% to 100% on repeat, so set offsetDistance to ((frame / fps) / duration mod 1) × 100% in Remotion, or loop that tween on the paused HyperFrames timeline. Set size, the transition duration and the trail color through className (e.g. a bg gradient).

Used in

More entrances & emphasis