A sunrise icon that draws itself on hover and raises a big sun with its rays over the horizon when the sun is up.
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 ›
sunrise-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
Sunrise times in weather apps, morning alarms and wake-up or "good morning" buttons.
Nasıl çalışır
Hover it and the horizon draws in, then the low sun and its up arrow. When the sun is up the arrow flies away, a big sun rises over the horizon and its rays pop out one by one. Set it and the sun sinks 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.