Skip to content
PreviewOpen the stack to see earlier updates beside the latest one.
  1. The release needs your approval 2m Scout waits for review at 18:00

NotificationStack

expanded
boolean
Whether the deck is open (controlled).
defaultExpanded
boolean
Default: false
Opens with the deck open (uncontrolled).
onExpandedChange
(expanded: boolean) => void
Called when the deck opens or closes.
maxVisible
number
Default: 3
Most cards the closed deck shows; the open deck shows every line.
label
(count: number) => ReactNode
Default: "3 notifications"
The control's words, by the number of lines.
empty
ReactNode
What stands in place of the deck with no lines. Default an EmptyState, "Nothing new".
rootStyle
NotificationStackStyle
Typed StyleX override: where it sits and its knobs.
children
ReactNode
The notification lines, newest first: each stands on a card of its own.

Rest props go to HTMLAttributes<HTMLDivElement>.

State machine

PreviewThe newest update sits above the stack.
  1. Deploy needs review