A birthday cake icon that draws itself on hover and lights a flickering flame on each candle when it is lit.
React + HTML
Grátis
Estado
Mais abaixo ↓
Já incluído
O que você recebe
Claro e escuroUsa as cores do seu tema
Pacotes…
Tamanho do código…
Verificado a cada mudança
Verificação de tiposTypeScript strict
Lint e formataçãoESLint · Prettier
Testes e buildCapturas de tela claras e escuras
Auditoria de segurançaSem alertas de gravidade alta ou crítica
Idade dos pacotesToda versão pública há 7+ dias
CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps
Código
Algo errado com este componente? Enviar 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.
Carregando…
Ideal para
Birthday reminders, anniversaries, celebrations and party or event apps.
Como 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.
Como usar
Vincule style.css e script.js à sua página e cole o código de index.html onde ele deve ficar.