Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Kanban Board

ProNew

A 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

PropTypeDefault
cards*KanbanCard[]

Initial cards distributed across the Queued, In progress, In review and Done columns.

—
limitsPartial<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) => void

Called whenever a card moves to a new column.

—
classNamestring—

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.