Kanban API
Headless board of movable items in columns, with v-model per column, pointer drag, keyboard pick-up and move, and live-region announcements. Built on createKanban.
Related
Explore these related pages for additional context and usage patterns.
| Page | Category |
|---|---|
| Kanban | Data |
| createKanban | Data |
| createSortable | Data |
| useDragDrop | System |
Kanban.Root
Props
orientation
KanbanOrientation | undefinedAxis the columns flow along (default: 'horizontal')
Default: "horizontal"
Events
move
[payload: KanbanMovePayload]Slots
default
KanbanRootSlotPropsKanban.Column
Props
accept
((value: T, from: ID, index: number) => boolean) | undefinedVeto incoming cross-column moves. Synchronous; return false to reject. Same-column reorders bypass it.
Events
update:model-value
[value: T[]]Slots
default
KanbanColumnSlotProps<T>Kanban.Instructions
Props
Slots
default
KanbanInstructionsSlotPropsKanban.Item
Props
Slots
default
KanbanItemSlotPropsKanban.List
Props
Slots
default
KanbanListSlotPropsKanban.LiveRegion
Props
Slots
default
KanbanLiveRegionSlotProps