Skip to the demos

Micro‑interactions
for next‑gen UI.

7,098 icons that hop, swing and settle when people hover, tap or tab to them. Free and MIT licensed.

Browse the icons
  • One CSS file, about 2 KB, plus React and Vue components
  • Every SVG checked against an allow-list
  • Stays still when someone prefers reduced motion
Frame 21 of 21
Study another:

7,098 icons

200 drawn for popconui with parts that move, plus all of Tabler Icons in outline and filled.

In use

Small motion that answers what people do. Everything here works, so try it.

Plays on tap and on keyboard focus, with no extra code.

Swings every two seconds until it’s opened. That’s .popcon-loop.

Swaps to the filled heart and beats once.

The arrow drops while it works, then a tick draws itself in.

The whole row is the trigger, so the gear turns from anywhere on it.

Parts move on their own: the lid lifts while the bin lands.

Install

Use the stylesheet with plain HTML, or the components in React and Vue.

  1. Add the stylesheet

    Link it once in your <head>, or import popconui/popconui.css from npm.

  2. Copy an icon

    Click any icon above and copy it as HTML, JSX or a React import.

  3. Put it in something clickable

    A link, button or label plays it on hover and keyboard focus.

data-popcon-triggerPlays it from a bigger area, like a card or list row.
.popcon-playAdd it from code to play once, like after a save.
.popcon-loopRepeats with a pause, for things that need attention.
--popcon-liftScales the jump for big icons. 3 suits 64px.
--popcon-speedLength of one play. The default is 0.7s.

        

Safe to ship

These icons end up in other people’s products, so each claim links to the file that proves it.

  • Only plain shapes

    Every SVG passes an allow-list when the set is built: paths, circles, lines and groups. Scripts, links, styles and event handlers can’t get in, and a self-test checks that.

    Read the sanitizer
  • Still for reduced motion

    If someone turns on reduced motion, nothing moves. Every animation sits inside a prefers-reduced-motion check.

    Read the CSS
  • No layout shift

    Only transform and stroke-dashoffset animate, so the text and buttons around an icon never move.

    Read the CSS
  • A version that can’t change

    Pin @1.0.0 with its integrity hash and the browser refuses any other file.

    Get the pinned link
  • Quiet for screen readers

    Copied icons carry aria-hidden and focusable="false". Label the button, like aria-label="Delete", and that’s what people hear.

    Naming guide
  • Free for commercial work

    popconui is MIT licensed, and so is Tabler Icons, which it includes. If you pass the icon files on, keep the licence files with them.

    Read the licences