A birthday cake icon that draws itself on hover and lights a flickering flame on each candle when it is lit.
React + HTML
Free
State
More below ↓
Built in
What you get
Light and darkUses your theme colors
Packages…
Code size…
Checked on every change
Type checkTypeScript strict
Lint and formatESLint · Prettier
Tests and buildLight and dark screenshots
Security auditNo high or critical advisories
Package ageEvery version public 7+ days
Idle CPUUnder half a core at rest, ≤ 30 fps
Code
Something off with this component? Send feedback ›
cake-iconHTML
index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
script.jsscriptThe behavior: load it after the markup.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
Loading…
Good for
Birthday reminders, anniversaries, celebrations and party or event apps.
How it works
Hover it and the cake draws in, then its icing and candles. Light it and a flame grows on each wick, one after another, and they flicker twice; blow it out and the flames shrink away.
How to use
Link style.css and script.js from your page, then paste the markup from index.html where it should go.