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
Ücretsiz
Durum
Devamı aşağıda ↓
Yerleşik
Neler alırsınız
Açık ve koyuTema renklerinizi kullanır
Paketler…
Kod boyutu…
Her değişiklikte kontrol edilir
Tür denetimiKatı TypeScript
Lint ve biçimESLint · Prettier
Testler ve derlemeAçık ve koyu ekran görüntüleri
Güvenlik denetimiYüksek veya kritik uyarı yok
Paket yaşıHer sürüm 7+ gündür herkese açık
Boşta CPUDururken yarım çekirdekten az, ≤ 30 fps
Kod
Bu bileşende bir sorun mu var? Geri bildirim gönder ›
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.
Yükleniyor…
Şunlar için uygun
Savings goals, save-money buttons and budgeting apps.
Nasıl çalışır
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.
Nasıl kullanılır
Sayfanıza şu dosyaları bağlayın: style.css ve script.js. Ardından index.html'deki markup'ı olması gereken yere yapıştırın.