Columns like Not started, Processing, Success and Failed. Drag cards between them or reorder inside a column. Works with a mouse, a finger and the keyboard: focus a grip, press Space, move with the arrows, Space to drop.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| columns | KanbanColumn[] | The columns, left to right. | |
| cards | KanbanItem[] | Cards, when you control the board yourself. | |
| defaultCards | KanbanItem[] | [] | Starting cards when you let the board keep its own state. |
| onCardsChange | (cards: KanbanItem[], move?: KanbanMove) => void | Called with the new list of cards, and a description of the move, after every change. | |
| renderCard | (card: KanbanItem) => ReactNode | Draw each card yourself. The grip and drag behaviour stay. | |
| emptyText | string | "Drop cards here" | Text shown in a column with no cards. |
| className | string | Extra classes added to the outer element. |
Build a Drag and Drop Kanban Board in React with Framer Motion