An image off icon that draws itself on hover and cuts a slash through the picture when images are turned off.
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 ›
image-off-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
Hide images toggles, data saver modes, missing image placeholders and media settings.
Como funciona
Hover it and the frame draws in, then the hills and the sun. Turn images off and a slash draws corner to corner, the frame opens where it crosses, the sun sets and the hills dim.
Como usar
Vincule style.css e script.js à sua página e cole o código de index.html onde ele deve ficar.