Context Menu Cursor

HTML to video · A camera move · Apache-2.0

What it does

A cursor right-clicks a file, a context menu blooms from its tip, the hover highlight tracks the item under it, and the chosen action plays out: duplicate, rename, move to trash, or a confirmation toast.

Get it

Copy it, or npx hyperframes add cursor-context-menu, to compositions/components/cursor-context-menu.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, numbers)

Declared variables: items, pick, 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 (--cm-accent, --cm-card, --cm-dim, --cm-ink, --cm-line).

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