Badge Pop
HTML to video · A camera move · Apache-2.0
- What it does
A transitions.dev-inspired notification badge pop with elastic scale and count reveal. Paste-in snippet: it registers no timeline, you wire it into your own.
- Get it
Paste its markup, CSS and script into your composition, then add the timeline lines from the comment at the top of the file to your own GSAP timeline. demo.html in the folder shows it running. 3 settings to change.
- Needs
Loads its libraries from the network when it renders (cdn.jsdelivr.net).
- Re-skin
By props (colors, text)
Declared variables: count, accent, surface. 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