Drag and Drop Cursor

HTML to video · A camera move · Apache-2.0

What it does

A cursor grabs a task card, lifts and tilts it into its motion, carries it in lockstep to an empty column, drops it with a small settle, and the list closes the gap behind it.

Get it

Copy it, or npx hyperframes add cursor-drag-drop, to compositions/components/cursor-drag-drop.html and mount it as a sub-composition; it brings its own timeline. 3 settings to change.

Source on GitHub
Needs

Loads its libraries from the network when it renders (cdn.jsdelivr.net).

Re-skin

By props (colors, type, text)

Declared variables: card_label, accent, tone. Type come from theme custom properties with fallbacks (--font-body), so a :root block or one of the three themes re-skins it. Its colors are custom properties declared in one block in the file (--chip, --dd-accent, --dd-badge-text, --dd-card,…

License

Apache-2.0

License notes are on the pack's page

From

HyperFrames

Everything from HyperFrames in the gallery

Back to the Asset Library