Skip to content

Status Board

StatusBoard is the card view every record list shares: purchase orders, change orders, subcontracts, the Hub content library. A screen hands it its columns and cards and keeps only its own rules about which moves are allowed and what a move does.

Live demo

This is the real component with sample purchase orders. Open a column from its header, then drag a card to another column, or focus a card and press Alt + Arrow Right.

Nothing here · drop a purchase order here

Two-level board (the workflow pattern)

Give columns a group and the board becomes the two-level kanban spreader: one coloured status badge sits above each run of columns that share a group.key (Jobs: the phase over its stages). A board with no group keeps its one-level layout, where each column’s own badge is the high-level status.

Every column is a rounded, borderless card. Its title section is tinted with the column’s colour (color, a var(--token) reference passed by the page; anything else is ignored with a console error) and carries the eyebrow (the status name with a dot) and the count. Cards inside are WorkflowCards.

Sales
Oak Hollow Clubhouse sprinkler retrofit$48,200Job: BFP0001349Client: Prime Homes
Wells Branch Senior LivingNo valueJob: BFP0001402Client: No client
Build
Riverbend Phase 2$215,000Job: BFP0001288Client: Riverbend Partners
Nothing here

While a card is dragged, the column it would land in shows a dashed border. The board does not decide which moves are allowed: onMove does, and may return { refused: "reason" }. The card stays where it was, the reason shows on the target column for four seconds and is announced to assistive tech. A page that raises its own toast returns nothing. Try dragging Riverbend Phase 2 (Active) to Estimate in the demo.

For touch and assistive tech, showMoveAction adds a “Move” menu to each card. It is off by default (Deb, 2026-09-28: “Too many things”).

Behavior

  • Every column always shows, even when empty, with its count and the screen’s summary (a total, or a record count) in the header.
  • Every column has three states, and a click on its header or rail steps to the next: closed (compact cards) to open (wider, full cards in a grid) to rail (42px) and back to closed. Each column keeps its own state. On a wider screen the board never scrolls sideways and never stacks: the columns share its width and the cards reflow to fit. On a phone the columns stack and a click toggles open and closed.
  • An empty column starts as a 42px rail. A rail still opens and still takes a dropped card.
  • Drag starts after 6px of mouse movement or a 350ms touch hold, not before, so a click or a scroll never moves a card.
  • The keyboard route is Alt + Arrow Right and Alt + Arrow Left on a focused card (Alt + Arrow Down and Up on a phone). It calls the same onMove handler as a drag. No card carries a visible “Move to” control.
  • A column a writer never moves a card into (droppable: false) is never a drop target, and the keyboard steps over it to the next one.
  • A screen that queries each column on its own (the Hub content library) hands the board each column’s loading or error state, shown in place of its cards, and the server’s count, shown in the header and rail. A column holding one page of that count ends with “Showing N of M. Filter to narrow the column.”

Usage

import { StatusBoard, StatusBoardMiniCard } from "@beacon/design-system";
<StatusBoard
columns={[
{ key: "draft", label: "Draft", tone: "neutral" },
{ key: "sent", label: "Sent", tone: "info" },
]}
items={orders}
getKey={(o) => o.id}
getColumn={(o) => o.status}
columnSummary={(items) => total(items)}
renderCard={(o) => <OrderCard order={o} />}
renderMini={(o) => <StatusBoardMiniCard top={o.number} main={o.vendor} />}
noun="purchase order"
onMove={(key, toColumn) => moveOrder(key, toColumn)}
/>

Props

PropTypeDescription
columnsStatusBoardColumn[]One per status: key, label, a tone for its badge, and color (a var(--token) for the title section), group ({ key, label, tone, color? }, the badge above a run of columns) and droppable (default true; false is never a drop target and the keyboard skips it).
itemsT[]Every record, in every column.
getKey, getColumn(item) => stringA record’s identity and the column it sits in.
columnSummary(items) => ReactNodeThe header’s second line for a non-empty column.
renderCard, renderMini(item) => ReactNodeThe full card, and the compact card a closed column shows.
nounstringLower-case singular for the empty column: “drop a purchase order here”.
onMove(key, toColumn) => void | { refused: string }Present: cards drag and the keyboard moves them. The screen decides whether a move is allowed and may refuse with a reason.
showMoveActionbooleanOptional, default off. A “Move” menu on each card that lists the droppable columns and calls onMove.
moveDisabledbooleanOff while a move is saving.
columnState(key) => { status: "loading" } | { status: "error"; message } | undefinedOptional. A column’s own loading or error state, in place of its cards.
columnTotal(key) => numberOptional. The column’s full count; larger than its cards, the column ends with “Showing N of M”.