Floating Device with Soft Bob — effect skill for device mockups

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.

The device hangs in space and bobs and tilts very slightly so a still shot never feels frozen.

What it does

Built on Float by fancy, MIT. The write-up and recipes below are varg's.

A slow 6–10 px vertical bob with a 1–2° tilt and a shadow that breathes with it.

When: Holding on a screenshot while the voiceover explains, or behind a title.

Watch out: Do not bob fast or far; anything over ~12 px reads as floating debris.

Timing: Loop 3–5 s, sine.inOut, amplitude 6–10 px, tilt ±1.5°.

Also called: levitating mockup, float, idle bob

In HyperFrames

npx hyperframes add drift-hold

Loop-exact: period divides the clip length so the last frame matches the first.

In Remotion

const y = Math.sin(frame/fps*Math.PI*2/4)*8;
const r = Math.sin(frame/fps*Math.PI*2/4 + 1)*1.5;

In CapCut

Animation → Combo/Loop: "Float"/"Bounce" at a slow speed; or keyframe Position Y up and down with ease.

Ready-made components

Where this comes from

Use when

Not for

Install

Example output

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

More device mockups skills

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.