A birthday cake icon that draws itself on hover and lights a flickering flame on each candle when it is lit.
React + HTML
Kostenlos
Zustand
Mehr unten ↓
Eingebaut
Das bekommst du
Hell und dunkelNutzt deine Theme-Farben
Pakete…
Codegröße…
Bei jeder Änderung geprüft
TypprüfungTypeScript strict
Lint und FormatESLint · Prettier
Tests und BuildScreenshots in Hell und Dunkel
Sicherheits-AuditKeine hohen oder kritischen Hinweise
PaketalterJede Version seit 7+ Tagen öffentlich
CPU im LeerlaufUnter einem halben Kern in Ruhe, ≤ 30 fps
Code
Stimmt etwas nicht mit dieser Komponente? Feedback senden ›
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.
Lädt…
Gut für
Birthday reminders, anniversaries, celebrations and party or event apps.
So funktioniert es
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.
So nutzt du es
Binde style.css und script.js in deine Seite ein und füge dann das Markup aus index.html dort ein, wo es hin soll.