Skip to content
caliper ui pro docs

Notification stack

Stacked notifications that fan out on hover or focus.

Pro

Export ready

report-q3.csv is ready to download.

Draft saved

Pricing page · 2 minutes ago

Invite accepted

Sam Okafor joined Atlas platform.

When to use

  • Showing several recent updates compactly.

When not to use

  • One message at a time is enough.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/notification-stack

Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

NotificationStack

5 props
PropTypeDefaultDescription
notifications *readonly StackNotification[]—Newest first.
onDismiss *(id: string) => void—
onClear(() => void)—
labelstring"Notifications"
classNamestring—

Keyboard

Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It exposes group and status semantics, with aria-label, aria-expanded, aria-hidden, aria-live and aria-relevant kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/notification-stack.md

The index of every part is at /llms.txt.

More in Notifications