Device Frame Stage

HTML to video · A laptop or window frame · Apache-2.0

What it does

A phone or tablet mockup staged as a physical scene prop with a screen slot for arbitrary reconstructed UI, rising onto the stage, settling, and holding an idle float.

Get it

Copy it, or npx hyperframes add device-frame-stage, to compositions/components/device-frame-stage.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)

Declared variables: device, cutout, body. Colors and type come from theme custom properties with fallbacks (--border, --font-body, --muted, --space-2, --surface), so a :root block or one of the three themes re-skins it.

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