Board Lanes
A kanban board with real drag and drop for mouse, touch and keyboard. The card lifts and follows the pointer, others slide to make room, lanes scroll at the edges and a drop settles into place. Lanes have counts and work in progress limits, an inline add row and can fold.
pixikit.com/docs/app-ui/lists/board-lanes
Customize
Collapsible
Lane width272px
Height520px
Orientation
Loading
Props
14| Name | Type | Default | Description |
|---|---|---|---|
lanes | BoardLane[] | Required | The lanes, left to right. |
cards | BoardCard[] | None | The cards. Makes the board controlled: change it from `onCardsChange`. |
defaultCards | BoardCard[] | None | The cards to start with, when the board holds them itself. |
onCardsChange | (cards: BoardCard[]) => void | None | Called with the new ordered cards after a drop. |
onCardSelect | (id: string) => void | None | Called when a card is clicked, or picked up and dropped without moving. |
onAdd | (lane: string, title: string) => void | None | Shows an Add a card row in every lane. A board that holds its own cards adds the card itself. |
collapsible | boolean | false | Lets a lane fold into a narrow strip. |
laneWidth | number | 288 | The width of a lane, in px. |
height | number | None | The height of the board in px; lanes scroll inside it. Default: as tall as the cards. |
orientation | "horizontal" | "auto" | "auto" | `auto` stacks the lanes, each folding like an accordion, when the board is narrow. |
locale | string | "en-US" | The language dates are written in. |
loading | boolean | false | Shows placeholder cards while the board loads. |
empty | ReactNode | None | Shown in a lane that has no cards. |
className | string | None |