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/kanban

v0.1.2

Published

A kanban board for @nuvui/react: columns of cards that are moved between and within them with a mouse, a finger or the keyboard, and read out as they move.

Readme

@nuvui/kanban

A kanban board for @nuvui/react: columns of cards that are moved between and within them.

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/kanban @nuvui/react
"use client";

import "@nuvui/react/styles.css";
import "@nuvui/kanban/styles.css";
import {
  Kanban,
  KanbanCard,
  KanbanCards,
  KanbanColumn,
  KanbanColumnHeader,
} from "@nuvui/kanban";

export function Board({ columns, names, titles, save }) {
  return (
    <Kanban aria-label="Work" value={columns} onValueChange={save}>
      {(now) =>
        now.map((column) => (
          <KanbanColumn
            key={column.id}
            value={column.id}
            label={names[column.id]}
          >
            <KanbanColumnHeader count={column.cards.length}>
              {names[column.id]}
            </KanbanColumnHeader>
            <KanbanCards empty="Nothing here yet">
              {column.cards.map((id) => (
                <KanbanCard key={id} value={id} label={titles[id]}>
                  {titles[id]}
                </KanbanCard>
              ))}
            </KanbanCards>
          </KanbanColumn>
        ))
      }
    </Kanban>
  );
}

What's in it

  • Kanban: the board. It keeps which cards are in which column and in what order, by their ids, and carries a card while it's moved.
  • KanbanColumn, KanbanColumnHeader and KanbanCards: a column, its title with a count and buttons, and its cards, which is the part a card is dropped on.
  • KanbanCard: one card with any content, and a handle.

How it behaves

A mouse drags a card from anywhere on it. On a touch screen a finger held on a card picks it up, and one that moves sooner scrolls the board. From the keyboard, Space or Enter on a card's handle picks it up, the arrow keys move it, Space or Enter drops it and Escape puts it back.

Every move is said to a screen reader: the card, the column and the position in it. The sentences are English until you give others through labels.

onValueChange is called once, when a card is dropped somewhere new, with the columns as they are now and the move that was made. When you keep value, a move you don't take is undone, which is how a column is given a limit.

What a card is, its title and the rest, stays with you. The board holds ids.

Dependencies

@nuvui/react is a peer dependency: the board is drawn with its tokens.

The dragging is done by dnd kit, @dnd-kit/core and @dnd-kit/sortable. Both are MIT and are ordinary dependencies.

It's a package of its own so that an app which only wants buttons and dialogs doesn't have to install them.

The docs are at https://nuvui.nuvraxis.com/docs/kanban.

License

MIT