Comparison Split
HTML to video · Before and after · Apache-2.0
- What it does
Two full-bleed panels compare before and after states as a persistent divider wipes the vivid after layer over the muted before layer and rests at a configurable split.
- Get it
Copy it, or
npx hyperframes add comparison-split, to compositions/components/comparison-split.html and mount it as a sub-composition; it brings its own timeline. 4 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: split, orientation, labelA, labelB. Colors and type come from theme custom properties with fallbacks (--accent, --bg, --border, --fg, --font-body, --font-display, 11 in all), so a :root block or one of the three themes re-skins it.
- License
Apache-2.0
- From