npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gamifiedui-icons

v0.2.0

Published

16x16 pixel icons for gamifiedUI: common UI icons plus a Hong Kong set. Tailwind v4 utilities or plain CSS.

Downloads

647

Readme

gamifiedui-icons

342 pixel icons drawn on a 16��16 grid for gamifiedui-css: 310 common UI and game icons in 29 categories (grouped into interface, game, world, life and culture), 10 emoji faces and 22 Hong Kong icons. Every icon also has an animated version. Each icon is one CSS class. It is a mask filled with currentColor, so it takes the text colour and any gx-icon tone.

npm i gamifiedui-icons
/* Tailwind v4: only the icons you use are emitted */
@import "tailwindcss";
@import "gamifiedui-css";
@import "gamifiedui-icons";
<!-- No build step: every icon as plain CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/src/all.css">
<span class="gx-icon gx-i-egg-tart" aria-hidden="true"></span>
<button class="gx-btn" aria-label="Settings"><span class="gx-icon gx-icon-sm gx-i-gear" aria-hidden="true"></span></button>

Icons are decorative, so mark them aria-hidden="true" and put the meaning in text or in an aria-label. Keep sizes at multiples of 16px (gx-icon-sm 16, default 32, gx-icon-lg 48, gx-icon-xl 64) so the pixels stay square.

Also shipped:

  • svg/<name>.svg files using fill="currentColor", and svg/ia-<name>.svg frame strips.
  • icons.json, with the name, set, motion and English / �c�� / ?�^ labels for each icon.

Animated icons

Swap gx-i-NAME for gx-ia-NAME to animate any icon:

<span class="gx-icon gx-ia-heart" aria-hidden="true"></span>      <!-- beats -->
<span class="gx-icon gx-ia-gear" aria-hidden="true"></span>       <!-- turns -->
<span class="gx-icon gx-ia-thumb-up" aria-hidden="true"></span>   <!-- pops -->

Most icons move with a motion preset that snaps in whole icon pixels: bob, float, pulse, beat, pop, spin, spin-slow, wiggle, ring, swing, shake, nudge-{right,left,up,down}, drive, blink, squint, flip and tick. Each icon has a default in icons/motion.mjs; to choose another, pair the static class with a preset class: gx-i-coin gx-im-spin.

Some icons are redrawn frame by frame instead: fire, laugh, wink, plus these extras that have no static version: write, tablet, heartbeat, coin-spin, bell-ring, typing and loading.

Stopping them (needs gamifiedui-css):

| Class | Effect | |---|---| | gx-icon-paused | Pauses one icon. | | gx-icon-hover-play | Plays only while the parent (a button, card or tile) is hovered or focused. | | gx-icons-paused | On any container: pauses every animated icon inside it. |

Animations also stop under prefers-reduced-motion: reduce and inside [data-gx-motion="reduce"], where frame icons rest on frame 0.

Icons

Common: heart, star, coin, check, close, plus, minus, chevron-{right,left,down,up}, menu, search, home, gear, user, lock, bell, mail, play, pause, sound, info, warning, sword, shield, potion, key, gift, trophy, clock, chat, reload, fire, bolt, sparkle, calendar, hourglass, arrow-{right,left,down,up}, upload, download, file, folder, image, trash, edit, copy, link, share, eye, filter, logout, cart, pin, flag, bookmark, camera, globe, cloud, sun, moon, music, thumb-up, thumb-down.

Emoji: smile, laugh, wink, sad, cry, angry, surprised, love, cool, neutral.

Hong Kong:

| Class | �c�� | English | |---|---|---| | gx-i-egg-tart | �J�� | Egg tart | | gx-i-milk-tea | ���� | Milk tea | | gx-i-pineapple-bun | ���ڥ] | Pineapple bun | | gx-i-dim-sum | �I�� | Dim sum steamer | | gx-i-egg-waffle | ���J�J | Egg waffle | | gx-i-fishball | ���J | Fish balls | | gx-i-tram | �q�� | Tram | | gx-i-minibus | �p�� | Red minibus | | gx-i-ferry | �ѬP�p�� | Star Ferry | | gx-i-junk-boat | �|�� | Junk boat | | gx-i-bauhinia | �v���� | Bauhinia | | gx-i-mahjong | �³� | Mahjong tile | | gx-i-lai-see | �Q�O | Lai see packet | | gx-i-signal-1, -3, -8 | ���y | Typhoon signals | | gx-i-lantern | �OŢ | Lantern | | gx-i-mooncake | ��� | Mooncake | | gx-i-lion-rock | ��l�s | Lion Rock | | gx-i-rice-bowl | ���J | Rice bowl |

Adding an icon

Icons are ASCII grids in icons/common.mjs, icons/emoji.mjs and icons/hk.mjs: # is a solid pixel, + is 50% alpha, and . is empty. A symmetric icon can list only its left 8 columns and set mirror: true. A variant can reuse another icon with from and a transform (flipX, flipY, rot90, rot180 or rot270). Give it a motion in icons/motion.mjs (otherwise it bobs), or add frames to icons/animated.mjs; frame 0 is the reduced-motion pose. Run npm run build to regenerate the CSS, SVGs and icons.json. npm test fails if any of them are stale.

License

All icons are original work for this project, under the Apache License 2.0. See NOTICE.