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

@nuvui/emoji

v0.1.3

Published

An emoji picker for @nuvui/react: search, categories, skin tones and recently used emoji, in a list that draws only the rows in view, and a reaction button with a count. It shows the device's own emoji.

Readme

@nuvui/emoji

An emoji picker for @nuvui/react: a search box, the emoji in their groups, a choice of skin tone, and the ones picked before. And a reaction button, for the row of emoji with counts under a message.

This is early: the package is on npm as a 0.x version, and before 1.0 a minor version may rename or remove things. The changelog says where one does, and the repository README says where things stand.

pnpm add @nuvui/emoji @nuvui/react
"use client";

import "@nuvui/react/styles.css";
import "@nuvui/emoji/styles.css";
import { EmojiPicker } from "@nuvui/emoji";
import { Button, Popover, PopoverContent, PopoverTrigger } from "@nuvui/react";

export function AddEmoji({ onAdd }) {
  return (
    <Popover>
      <PopoverTrigger asChild>
        <Button intent="secondary">Add an emoji</Button>
      </PopoverTrigger>
      <PopoverContent aria-label="Pick an emoji">
        <EmojiPicker autoFocus onEmojiSelect={(emoji) => onAdd(emoji)} />
      </PopoverContent>
    </Popover>
  );
}

What's in it

  • EmojiPicker: the panel. It's given onEmojiSelect, which is called with the emoji as text.
  • It draws the device's own emoji, as text. So they look as they do everywhere else on that device, there's no artwork to load or to license, and an emoji a device doesn't have isn't one it can draw. emojiVersion says how new an emoji may be to be listed, and flags are left out where the device doesn't draw them, which Windows doesn't.
  • Only the rows in view are drawn, so nineteen hundred emoji are a few dozen elements.
  • The list is a grid with one stop for the Tab key. The arrow keys move over it, Enter picks, and each emoji is read by its name.
  • A skin tone that's chosen is drawn on every emoji that has one, and remembered. So are the last sixteen emoji picked. Both are kept in the browser's local storage unless you keep them yourself.
  • The names and the words emoji are found by are English. data takes a list of your own, and labels the picker's own words.
  • EmojiReaction: a button with an emoji and how many reacted with it, pressed when the reader is one of them. It keeps nothing: count and pressed are yours, and onPressedChange is called when it's pressed. It's read by the emoji's name and the count.

The list of emoji is loaded when a picker is first drawn, and is about 33 kB compressed. The picker without it is about 4 kB.

Where the list comes from

The list is written from emojibase-data, which is MIT, by Miles Johnson, and takes the names and the keywords from Unicode's CLDR. pnpm --filter @nuvui/emoji generate writes it again.

The docs are at nuvui.nuvraxis.com/docs/emoji.

License

MIT