Rubber Band Bumper

HTML to video · A cut between two pictures · Apache-2.0

What it does

An outgoing panel pulls against increasing resistance, holds at tension, then snaps past an edge with overshoot as the incoming panel settles behind it.

Get it

Copy it, or npx hyperframes add rubber-band-bumper, to compositions/components/rubber-band-bumper.html and mount it as a sub-composition; it brings its own timeline. 2 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: direction, accent. Colors and type come from theme custom properties with fallbacks (--accent, --accent-2, --bg, --brand, --fg, --font-body, 8 in all), 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