Swipe Rail
HTML to video · A camera move · Apache-2.0
- What it does
A contact circle leads a horizontal card rail through a fast drag, momentum carry, and settled snap to the next card.
- Get it
Copy it, or
npx hyperframes add swipe-rail, to compositions/components/swipe-rail.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, text, numbers)
Declared variables: card_count, accent, card_label_prefix. Colors come from theme custom properties with fallbacks (--accent, --accent-2, --brand), so a :root block or one of the three themes re-skins it.
- License
Apache-2.0
- From