Kanban Board
ProNewA four-column board with priorities, assignees, due dates, checklists and WIP limits. Cards glide between columns by drag or by button.
Installation
pnpm dlx shadcn@latest add @viewport/kanban-board
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| cards* | KanbanCard[]Initial cards distributed across the Queued, In progress, In review and Done columns. | — |
| limits | Partial<Record<KanbanColumnId, number>>Most cards a column should hold, by column. The count turns amber when a column is over. | — |
| onMove | (cardId: string, column: KanbanColumnId) => voidCalled whenever a card moves to a new column. | — |
| className | string | — |
Accessibility
- Every card has move buttons that name the column they lead to, so dragging is never required.
- Priority, overdue dates and over-limit columns are stated in text, not only by color.
- Column moves are announced through a polite live region.
- Shared-element flight disables under reduced motion.