Spring Pop
HTML to video · A camera move · Apache-2.0
- What it does
A badge pops in from a visible near-rest scale, overshoots full size once, and settles cleanly.
- Get it
Copy it, or
npx hyperframes add spring-pop, to compositions/components/spring-pop.html and mount it as a sub-composition; it brings its own timeline. 3 settings to change.- Needs
Loads its libraries from the network when it renders (cdn.jsdelivr.net).
- Re-skin
By props (colors, type, text)
Declared variables: overshoot, fromScale, text. Colors and type come from theme custom properties with fallbacks (--bg, --border, --brand, --fg, --font-body, --font-display, 10 in all), so a :root block or one of the three themes re-skins it.
- License
Apache-2.0
- From