An image off icon that draws itself on hover and cuts a slash through the picture when images are turned off.
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 ›
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.
Lädt…
Gut für
Hide images toggles, data saver modes, missing image placeholders and media settings.
So funktioniert es
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.
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.