A sunset icon that draws itself on hover and sinks the sun to the horizon at dusk, then rises again by day.
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 ›
sunset-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
Weather widgets, sunset times and day-to-night switches.
Como funciona
Hover it and the horizon and sun draw in and the rays grow out. Turn set on and the rays pull in, the sun sinks to a sliver and a down arrow draws in above it.
Como usar
Vincule style.css e script.js à sua página e cole o código de index.html onde ele deve ficar.