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
Kostenlos
Zustand
Mehr unten ↓
Eingebaut
Das bekommst du
Hell und dunkelNutzt deine Theme-Farben
Pakete…
Codegröße…
Bei jeder Änderung geprüft
TypprüfungTypeScript strict
Lint und FormatESLint · Prettier
Tests und BuildScreenshots in Hell und Dunkel
Sicherheits-AuditKeine hohen oder kritischen Hinweise
PaketalterJede Version seit 7+ Tagen öffentlich
CPU im LeerlaufUnter einem halben Kern in Ruhe, ≤ 30 fps
Code
Stimmt etwas nicht mit dieser Komponente? Feedback senden ›
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.
Lädt…
Gut für
Sunrise times in weather apps, morning alarms and wake-up or "good morning" buttons.
So funktioniert es
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.
So nutzt du es
Binde style.css und script.js in deine Seite ein und füge dann das Markup aus index.html dort ein, wo es hin soll.