Float — 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.

An album cover bobbing and tilting gently in 3D above its caption, as if floating in water

Prompt that renders it frame-exact

Use Float from Fancy Components (https://www.fancycomponents.dev/docs/components/blocks/float, MIT). Install with npx shadcn add @fancy/float with the @fancy registry in components.json. Wrap a product shot, album cover, phone mockup or sticker in it so the object idles with life during a hold. Set speed, amplitude [x, y, z] and rotationRange [x, y, z], and give several floating items different timeOffset values so they don't move in sync. It reads time from Motion's useAnimationFrame. Compute the sine offsets from t = frame / fps + timeOffset instead and set the transform directly.

Used in

More entrances & emphasis