Skip to content

blocks/status-tray

StatusTrayItem = Readonly<{ id: string; label: ReactNode; count?: number; tone?: StatusTone; glyph?: StatusGlyph; motion?: StatusMotion; accessibleLabel?: string; title?: ReactNode; actions?: ReactNode; content: ReactNode; disabled?: boolean; after?: ReactNode; }>

One footer readout and the small tray it opens. Semantic data only: the chip’s finish, the tray’s material and the seam between them come from theme tokens (--caps-status-tray-*), never from a prop.


StatusTrayProps = Omit<HTMLAttributes<HTMLDivElement>>, "title"> > & object

Controlled selection and structural slots for a row of footer trays.

items: readonly StatusTrayItem[]

Readouts and their tray contents in display order.

openId: string | null

Which tray is open. The host owns this state.

onOpenChange: (id) => void

Requests a selection change or dismissal.

string | null

void

optional leading?: ReactNode

Leading readouts that never open a tray (connection state, etc.).

optional trailing?: ReactNode

Trailing controls after the chips (Send, Expand, …).

optional placement?: "housing" | "screen"

Structural seat. housing sits on the plastic below a screen; screen sits inside a Display as flat, screen-native text (the wiki’s screen material rule). The look of each seat is theme-owned.

optional align?: "start" | "end"

Which edge the tray aligns to.

StatusTray(__namedParameters): Element

A footer row of readout chips; one opens its tray above the row at a time.

StatusTrayProps

Element


StatusTrayList(__namedParameters): Element

Readout rows on the tray’s screen, with each row’s keys on the bezel beside it. Several lists in one tray share that one screen.

HTMLAttributes<HTMLDivElement>

Element


StatusTrayRow(__namedParameters): Element

One readout row and its associated actions on the bezel.

Omit<HTMLAttributes<HTMLDivElement>, "children"> & object

Element


StatusTrayNote(__namedParameters): Element

A quiet sentence on the tray’s screen for an empty or unavailable feed.

ReactNode

string

Element