Skip to content
Data Display

Kanban

Drag-and-drop board with cards that reorder and move across columns.

Import

tsx
import { Kanban } from "@cooud-ui/ui";
bash
npx cooud-ui add kanban

Examples

API Reference

Generated from the component's exported types.

KanbanProps

Extends Omit<HTMLAttributes<HTMLDivElement>, "onChange">

PropTypeDefaultDescription
columns*
KanbanColumn[]The board's columns and their cards (controlled).
onColumnsChange*
(next: KanbanColumn[]) => voidCalled with the next columns after a reorder/move. The consumer owns state.
renderItem
(item: KanbanItem) => ReactNodeRender a card's body. Defaults to the item's title + description in a Card-like tile. The drag handle and tile chrome are always provided.