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
Gratis
Stato
Altro più sotto ↓
Incluso
Cosa ottieni
Chiaro e scuroUsa i colori del tuo tema
Pacchetti…
Dimensione del codice…
Verificato a ogni modifica
Controllo dei tipiTypeScript strict
Lint e formattazioneESLint · Prettier
Test e buildScreenshot chiari e scuri
Audit di sicurezzaNessun avviso alto o critico
Età dei pacchettiOgni versione pubblica da 7+ giorni
CPU a riposoMeno di mezzo core a riposo, ≤ 30 fps
Codice
Qualcosa non va in questo componente? Invia 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.
Caricamento…
Ideale per
Savings goals, save-money buttons and budgeting apps.
Come funziona
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.
Come si usa
Collega style.css e script.js dalla tua pagina, poi incolla il markup di index.html dove vuoi che vada.
Nessun pacchetto extraSolo React, nient’altro
2,9 kB compressi con gzip · 1 fileL’intero download