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

@edux-design/kanban-board

v0.1.1

Published

Kanban board primitives with token-based cards, columns, and drag-and-drop ordering. The package is controlled: you own the column/card data and receive updates when cards move.

Readme

@edux-design/kanban-board

Kanban board primitives with token-based cards, columns, and drag-and-drop ordering. The package is controlled: you own the column/card data and receive updates when cards move.


Installation

pnpm add @edux-design/kanban-board
# or
npm install @edux-design/kanban-board

Peer deps include react and react-dom. Drag-and-drop dependencies are bundled through the package.


Data shape

const columns = [
  {
    id: "column-backlog",
    title: "Backlog",
    cardIds: ["card-1", "card-2"],
  },
  {
    id: "column-progress",
    title: "In progress",
    cardIds: ["card-3"],
  },
];

const cardsById = {
  "card-1": {
    id: "card-1",
    label: "Discovery",
    title: "Shape the brief",
    summary: "Write the temporary feature framing.",
    priority: "High",
    assignee: "VG",
    dueText: "Today",
  },
};

Usage

import { useState } from "react";
import { KanbanBoard } from "@edux-design/kanban-board";

export function Example() {
  const [columns, setColumns] = useState(initialColumns);

  return (
    <KanbanBoard
      columns={columns}
      cardsById={initialCardsById}
      onColumnsChange={setColumns}
    />
  );
}

Props

KanbanBoard

  • columns (required): array of column objects with id, title, and cardIds.
  • cardsById (required): map of card id to card model.
  • onColumnsChange (required): called with the next ordered columns after a drag interaction.
  • className: optional wrapper classes for the board row.
  • columnWidth: optional width class/string applied to each column wrapper. Defaults to w-[320px].
  • showColumnTitle: optional boolean. Defaults to true.
  • showColumnCardCount: optional boolean. Defaults to true.
  • allowMultiSelectDrag: optional boolean. Defaults to false. Enables same-column multi-select with CMD/CTRL toggle, SHIFT range selection, and group drag.
  • deselectOnBlur: optional boolean. Defaults to true. Clears selected cards when focus leaves the board.

KanbanColumn

  • column (required): column model.
  • cards (required): resolved array of cards for the column.
  • totalCards: optional numeric count. Defaults to cards.length.
  • widthClassName: optional width class for the column surface.
  • showTitle: optional boolean. Defaults to true.
  • showCardCount: optional boolean. Defaults to true.

KanbanCard

  • card (required): card model with label, title, summary, priority, assignee, and dueText.
  • columnId (required): owning column id for sortable metadata.
  • isOverlay: internal drag overlay mode.

Notes

  • The board supports moving cards within a column and across columns.
  • When allowMultiSelectDrag is enabled, users can select multiple cards in the same column and move them together while preserving their order.
  • While dragging, the source card becomes a neutral placeholder so layout stays stable.
  • Assignee avatars use deterministic colors derived from the assignee name.