A cookie icon that draws itself on hover and rolls a full turn as its chips fill with color when cookies are accepted.
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 ›
cookie-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
Cookie consent banners, privacy settings and tracking preferences.
Hoe het werkt
Hover it and the cookie draws in, then its chips. Accept and it rolls one full turn as its chips fill with color and a crumb bounces off; set it back and the chips empty again.
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.