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
Grátis
Estado
Mais abaixo ↓
Já incluído
O que você recebe
Claro e escuroUsa as cores do seu tema
Pacotes…
Tamanho do código…
Verificado a cada mudança
Verificação de tiposTypeScript strict
Lint e formataçãoESLint · Prettier
Testes e buildCapturas de tela claras e escuras
Auditoria de segurançaSem alertas de gravidade alta ou crítica
Idade dos pacotesToda versão pública há 7+ dias
CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps
Código
Algo errado com este componente? Enviar feedback ›
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.
Carregando…
Ideal para
Sunrise times in weather apps, morning alarms and wake-up or "good morning" buttons.
Como funciona
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.
Como usar
Vincule style.css e script.js à sua página e cole o código de index.html onde ele deve ficar.