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

react-kanbanui

v1.3.1

Published

A modern, high-performance React Kanban board component with drag-and-drop functionality

Readme

📋 KanbanUI - React Kanban Board Component

🎯 Overview

KanbanUI is a high-performance, fully customizable React Kanban board component built with TypeScript. It features smooth drag-and-drop functionality, optimized rendering, and a clean, modern design.

✨ Features

  • 🎨 Modern Design - Clean, responsive UI with pre-compiled Tailwind CSS
  • 🚀 High Performance - Optimized with React.memo, useCallback, and useMemo
  • 🎯 Drag & Drop - Smooth card reordering within and between columns
  • 🔧 Fully Customizable - Override styles and behavior easily
  • 📱 Responsive - Works perfectly on all screen sizes
  • 🛡️ Type Safe - Built with TypeScript for better developer experience
  • 🧪 Well Tested - Comprehensive error handling and validation
  • Accessible - ARIA compliant and keyboard navigation support
  • 📦 Zero Config - All styles included, no Tailwind setup required

🚀 Quick Start

Installation

npm install react-kanbanui
# or
yarn add react-kanbanui

Import Styles

IMPORTANT: You MUST import the CSS file for styles to work!

// Import the CSS file in your main app file (e.g., main.tsx, index.tsx, App.tsx)
import "react-kanbanui/dist/cjs/index.css";
// or for ESM
import "react-kanbanui/dist/esm/index.css";

// Then import the components
import { KanbanBoard, type IKanbanColumn } from "react-kanbanui";

Note: The CSS file includes all necessary styles - no need to install Tailwind CSS separately!

Basic Usage

import React, { useState } from "react";
import { KanbanBoard, IKanbanColumn } from "react-kanbanui";

const MyApp = () => {
  const [columns, setColumns] = useState<IKanbanColumn[]>([
    {
      id: "todo",
      title: "To Do",
      status: "todo",
      cards: [
        {
          id: "card-1",
          title: "Implement login",
          description: "Create user authentication system",
          priority: "high",
          status: "todo",
          assignee: "John Doe",
          tags: ["frontend", "auth"],
        },
      ],
    },
  ]);

  const handleColumnsChange = (newColumns: IKanbanColumn[]) => {
    setColumns(newColumns);
  };

  return (
    <KanbanBoard
      columns={columns}
      onColumnsChange={handleColumnsChange}
      theme="light"
      columnHeight="600px"
    />
  );
};

📁 Documentation Structure

🎨 Styling

KanbanUI uses Tailwind CSS classes by default but can be fully customized:

<KanbanBoard
  columns={columns}
  useOwnStyles={true}
  className="my-custom-board"
  columnHeight="700px"
/>

🔧 Advanced Configuration

Column Limits

const columns: IKanbanColumn[] = [
  {
    id: "in-progress",
    title: "In Progress",
    status: "in-progress",
    maxCards: 3, // Limit to 3 cards
    cards: [],
  },
];

Custom Card Components

import { KanbanCard } from "react-kanbanui";

const CustomCard = ({ card, ...props }) => (
  <KanbanCard {...props} card={card} className="custom-card-style" />
);

🎯 Performance

KanbanUI is optimized for performance with:

  • React.memo for component memoization
  • useCallback for stable function references
  • useMemo for expensive calculations
  • Efficient drag state management
  • Minimal re-renders during drag operations

See the Performance Guide for detailed testing instructions.

🎨 Theming

KanbanUI supports both light and dark themes:

// Light theme (default)
<KanbanBoard columns={columns} theme="light" />

// Dark theme
<KanbanBoard columns={columns} theme="dark" />

📚 API Reference

KanbanBoard Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | columns | IKanbanColumn[] | - | Array of columns with cards | | onColumnsChange | (columns: IKanbanColumn[]) => void | - | Callback when columns change | | useOwnStyles | boolean | false | Use your own CSS classes | | theme | "light" \| "dark" | "light" | Theme variant | | columnHeight | string | "600px" | Height of columns | | className | string | "" | Additional CSS classes |

IKanbanColumn Interface

interface IKanbanColumn {
  id: string;
  title: string;
  status: "todo" | "in-progress" | "review" | "done";
  cards: IKanbanCard[];
  color?: string;
  maxCards?: number;
}

IKanbanCard Interface

interface IKanbanCard {
  id: string;
  title: string;
  description?: string;
  priority: "low" | "medium" | "high" | "urgent";
  status: "todo" | "in-progress" | "review" | "done";
  assignee?: string;
  tags?: string[];
}

📦 Bundle Size

  • Minified: ~45KB
  • Gzipped: ~12KB
  • Dependencies: React, React-DOM

🌟 Browser Support

  • Chrome 60+
  • Firefox 60+
  • Safari 12+
  • Edge 79+

📄 License

MIT License - see LICENSE.md for details.

🤝 Contributing

See Contributing Guide for development setup and guidelines.

📞 Support