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">
| Prop | Type | Default | Description |
|---|---|---|---|
columns* | KanbanColumn[] | — | The board's columns and their cards (controlled). |
onColumnsChange* | (next: KanbanColumn[]) => void | — | Called with the next columns after a reorder/move. The consumer owns state. |
renderItem | (item: KanbanItem) => ReactNode | — | Render 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. |