Fidgicons docs
Every Fidgicon is a plain SVG that moves, holds a value and makes a sound. One stylesheet does all three. Drag the dial below: that is the whole idea.
A battery at 62%. Change anything and the code below changes with it.
#Three things every icon does
#Quick start
Add the stylesheet, once
It is 8.4 KB (1.6 KB compressed) and the only file every page needs.
main.jsjs import 'fidgicons/css';index.htmlhtml <link rel="stylesheet" href="fidgicons.css">npx fidgicons css > fidgicons.cssAdd an icon
Copy it from the library, import it from the package, or let the CLI write it into your project.
index.htmlhtml <svg class="fidg" viewBox="0 0 24 24">…</svg>Battery.jsxjsx import { Fidgicon } from 'fidgicons/react'; import battery from 'fidgicons/icons/battery.js'; <Fidgicon icon={battery} />Battery.vuevue <script setup> import { Fidgicon } from 'fidgicons/vue'; import battery from 'fidgicons/icons/battery.js'; </script> <template> <Fidgicon :icon="battery" /> </template>Battery.sveltesvelte <script> import Fidgicon from 'fidgicons/svelte'; import battery from 'fidgicons/icons/battery.js'; </script> <Fidgicon icon={battery} />Give it a value, or let it fidget
Set
--vto show a state. Putfidg-hoveron the icon or its button to play it on hover and keyboard focus.<svg class="fidg" style="--v: .62" viewBox="0 0 24 24">…</svg> <button class="fidg-hover"> <svg class="fidg" viewBox="0 0 24 24">…</svg> Save </button>
#Pick your stack
#Free and full set
104 icons are free for personal and client work: they ship in the npm package and can be copied from the library without an account. The other 52,809 come with a one-time licence, including all 2,505 icons of Filipino life. Your licence key opens them in the library, the CLI, the MCP server and Figma.