A basket icon that draws itself on hover and fills up with goods when something is added, then goes back on its own.
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 ›
basket-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
Add-to-basket buttons in shops, grocery and food ordering apps.
Hoe het werkt
Hover it and the basket draws in, then its weave and handle. Once added, the handle swings, the basket squashes and an apple and an orange pop up over the rim in the result color, then it goes back.
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.