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
Gratis
Status
Meer hieronder ↓
Ingebouwd
Wat je krijgt
Licht en donkerGebruikt de kleuren van je thema
Pakketten…
Codegrootte…
Bij elke wijziging gecheckt
TypecheckTypeScript strict
Lint en opmaakESLint · Prettier
Tests en buildScreenshots in licht en donker
BeveiligingsauditGeen hoge of kritieke advisories
Leeftijd van pakkettenElke versie al 7+ dagen openbaar
CPU in rustOnder een halve core in rust, ≤ 30 fps
Code
Klopt er iets niet met dit component? Feedback sturen ›
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.
Laden…
Goed voor
Sunrise times in weather apps, morning alarms and wake-up or "good morning" buttons.
Hoe het werkt
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.
Hoe je het gebruikt
Link style.css en script.js vanuit je pagina en plak daarna de markup uit index.html op de plek waar die hoort.