Back to components
ComponentBoardFree

Kanban Board React component

A drag-and-drop task board with a hand-rolled pointer-based drag engine, velocity tilt, edge autoscroll, ghost drop-position indicator, priority badges, avatar stacks, and light/dark theming.

About the Kanban Board component

Kanban Board is a drag-and-drop task board with columns and cards. You pick a card up with the mouse, a finger or a pen, and it lifts, follows the pointer and tilts with the speed of the drag, while a dashed outline in the column's color shows where it will land. Near the left or right edge the board scrolls on its own, and dropping the card moves it into that column and position.

Each card can show a title, a tag with its own color, a note, a priority (urgent, high, medium or low, each with its own color) and up to four avatars. Columns have a title and an accent color, and showCounts puts the number of cards next to each title. The layout follows the width of the board itself, not the window: under 810px the columns stack vertically, so it also works inside a narrow panel. It has a light and a dark color set and a built-in theme toggle.

When to use it

Use it for roadmaps, sprint boards, hiring pipelines, content calendars and order or support queues, where items move through a fixed set of stages.

For a list that people sort, filter and page through rather than move between stages, use Data Table.

Installation

Add the Kanban Board component to your project with the shadcn CLI. It lands in components/kanban-board.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/kanban-board

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

Related components

Whiteboard Canvas
Free
Sticky Notes Wall
Free
Feature Voting Board
Free
Portfolio Filter Grid
Portfolio Masonry
Portfolio Slideshow