KanbanBoard
Work in progress, by stage. WIP limits are the reason this isn't a list.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
Work in progress, by stage.
Accessibility
Fully keyboard operable: Tab to focus, Enter/Space to activate. The visible focus ring uses --focus-ring — never remove it. Provide an accessible label (aria-label) for icon-only controls.
Install and import
npx shadcn@latest add @prism/kanban-board
import { KanbanBoard } from '@/components/prism/KanbanBoard';
In a no-build prototype, read it from the bundle instead: const { KanbanBoard } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
columns | KanbanColumn[] | — | |
onMove | (card: KanbanCard, from: string, to: string) => void | — | Called by BOTH drag and the per-card move menu. |
onCardClick | (card: KanbanCard) => void | — | |
formatValue | (v: number) => React.ReactNode | — | |
emptyColumnLabel | React.ReactNode | — | |
className | string | — |