A birthday cake icon that draws itself on hover and lights a flickering flame on each candle when it is lit.
React + HTML
Gratis
Estado
Más abajo ↓
Incluido
Lo que obtienes
Claro y oscuroUsa los colores de tu tema
Paquetes…
Tamaño del código…
Revisado en cada cambio
Comprobación de tiposTypeScript estricto
Lint y formatoESLint · Prettier
Pruebas y buildCapturas en claro y oscuro
Auditoría de seguridadSin avisos altos ni críticos
Antigüedad de paquetesCada versión es pública desde hace 7+ días
CPU en reposoMenos de medio núcleo en reposo, ≤ 30 fps
Código
¿Algo raro con este componente? Enviar comentario ›
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.
Cargando…
Ideal para
Birthday reminders, anniversaries, celebrations and party or event apps.
Cómo funciona
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.
Cómo usarlo
Enlaza style.css y script.js desde tu página y pega el marcado de index.html donde deba ir.