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

@knitui/emoji

v0.3.0

Published

Hybrid React + React Native emoji kit generated from Google Noto Emoji SVG data.

Readme

@knitui/emoji

A hybrid React + React Native emoji kit, generated from the raw Google Noto Emoji SVG data (via @iconify-json/noto). Every emoji ships its artwork inline and renders itself, so the package carries no runtime dependency on the iconify data.

import { EmojiRocket } from "@knitui/emoji";

<EmojiRocket size={32} />;

For the leanest import path, import one emoji subpath directly:

import { EmojiRocket } from "@knitui/emoji/EmojiRocket";

Or render by name with the dynamic, code-split Emoji component:

import { Emoji } from "@knitui/emoji";

<Emoji name="rocket" size={32} fallback={<Spinner />} />;

Install

# Expo
npx expo install @knitui/emoji react-native-svg

# bare React Native / web
npm install @knitui/emoji react-native-svg

react-native-svg is only needed on native targets — web renders to a DOM <svg>. Like the rest of the kit, @knitui/emoji ships its source; Expo/Metro consume it out of the box, and Next.js picks it up via the withKnitui wrapper from @knitui/plugins/next-plugin.

How it works

Emoji are full-color artwork (many paths + gradients), not monochrome glyphs, so this kit works differently from @knitui/icons:

  • No runtime SVG parsing. Each emoji's SVG is parsed once at generate time (svgson) into a render-ready node tree — attributes camelCased to the form React DOM and react-native-svg both accept, and every gradient/clip id namespaced to the emoji so many emoji on one page can't cross-wire. The tree is turned into elements once per module at eval, not per render. This avoids the runtime XML parse that react-native-svg's SvgXml would pay on every emoji's first render.
  • One module, two renderers. createEmoji resolves to a DOM <svg> renderer (create-emoji.tsx) on web and a react-native-svg renderer (create-emoji.native.tsx) on native — bundlers and Metro pick the right one.
  • Full color, so no recoloring. There is no color/stroke prop — only size (explicit prop → ambient EmojiProvider → default of 24). title becomes an accessible label on both platforms.
  • Light types, tree-shaken data. The ~3.8k generated modules are emitted as .js + a tiny .d.ts, so tsc never parses the geometry (it would OOM) while bundlers still drop every emoji you don't import.
  • Named exports (EmojiRocket, …) render synchronously. The Emoji name-based component lazy-loads each emoji via React.lazy (code-split on web), honoring the fallback prop.

Peer dependencies

| Package | When required | | ------------------ | ------------------- | | react | always (>=18) | | react-native | native targets only | | react-native-svg | native targets only |

@iconify-json/noto is a dev-only dependency — it is read at generate time and never bundled into the published output.

Regenerating

Regenerate the full emoji surface after bumping @iconify-json/noto:

pnpm --filter @knitui/emoji generate

This reads @iconify-json/noto/icons.json and rewrites src/emojis/*, src/index.ts, src/registry.ts, and src/registry.native.ts.


Part of Knit UI.