Skip to main content

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 bar
Live demo
Open ↗

When 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​

PropTypeRequiredDescription
columnsKanbanColumn[]—
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—
emptyColumnLabelReact.ReactNode—
classNamestring—