Overview
Reference usage
Controlled multi-column board for reordering cards within and across workflow columns with keyboard, pointer, and live-region feedback.
Usage
Leave card out and the board lays the card out itself: the title (the getCardLabel text) on top, then one quiet row with cardMeta at its start, in muted text, and cardTrailing at its inline end. Give a person's full name beside their avatar, and hide the avatar from assistive technology (aria-hidden="true") so the name is read once. Pass card instead only when a card needs a body of its own; it then replaces the built-in layout, and cardMeta and cardTrailing are not drawn.
Guidance
Use When
- Presenting a workflow board where users move cards between ordered columns.
- Consumers own card rendering and need cinder to manage reorder affordances and change metadata.
Avoid When
- Showing a single ordered list — use sortable-list instead.
- Sorting by computed fields rather than direct manual placement.
Press Space to lift a card, arrow keys to move it, Space to drop, and Escape to cancel.
Press Space to lift a column, Left and Right arrows to move it, Space to drop, and Escape to cancel.
Space lifts. Arrow keys move. Space drops. Escape cancels.
- Inventory alerts
- Weekly report export
- Shipment map filters
- Cycle count cleanup
- Store pulse summary
When to use
- Presenting a workflow board where users move cards between ordered columns.
- Cards need a title over one quiet row (an assignee, a priority badge), or consumers own card rendering.
- Showing a single ordered list — use sortable-list instead.
- Sorting by computed fields rather than direct manual placement.
Examples
Project board
Move work items between columns, reorder columns, and collapse quiet lanes. Each card shows its title, then its assignee and priority on one quiet row.
Props
Name | Type | Default | Description |
|---|---|---|---|
columns required | KanbanBoardColumn<Card>[] | ||
getCardKey required | (card: Card) => stringnumber | ||
getCardLabel required | (card: Card, column: KanbanBoardColumn<Card>, index: number) => string | ||
onColumnsChange required | (nextColumns: KanbanBoardColumn<Card>[], change: KanbanBoardChange) => void | ||
card | snippet | Replaces the card's whole body. Leave it out to use the built-in layout: the card's title (its
getCardLabel text) on top, then one quiet row of cardMeta with cardTrailing at its inline
end. When card is set, cardMeta and cardTrailing are not drawn. | |
cardMeta | snippet | The built-in card's quiet row under the title, such as an assignee's avatar and full name. It draws in muted text at the inline start of the row. | |
cardTrailing | snippet | The built-in card's inline-end item on the meta row, such as a priority badge. | |
columnHeader | snippet | ||
columnActions | snippet | ||
emptyColumn | snippet | ||
label | text | Accessible label applied to the board's <section> root via aria-label. | |
collapsible | boolean | false | When true, each column renders a collapse/expand button that toggles its card list. |
reorderColumns | boolean | true | When true (default), columns can be reordered by dragging or keyboard. Set to false to make column order fixed. |