A bathtub icon that draws itself on hover and fills with water as bubbles pop up when it is filled, then empties again.
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 ›
bath-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
Bath and spa bookings, hotel room amenities and smart home water controls.
Nasıl çalışır
Hover it and the tub draws in, then its tap and feet. Fill it and the water rises inside the tub, then two bubbles pop up above the rim; empty it and they fade away.
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.