A piggy bank icon that draws itself on hover and takes a coin when something is saved, then goes back on its own.
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 ›
piggy-bank-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
Savings goals, save-money buttons and budgeting apps.
Como funciona
Hover it and the pig draws in, then its tail, slot and eye. Once saved, a coin drops into the slot, the pig hops and fills in the result color, then it goes back.
Como usar
Vincule style.css e script.js à sua página e cole o código de index.html onde ele deve ficar.