Skip to content
caliper ui pro docs

Notification center

A list of notifications with read state and filters.

Pro
Pricing page · Draft

When to use

  • A bell menu or inbox page.

When not to use

  • Messages that need an immediate reply.

Installation

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

Adds its 4 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

NotificationCenter

7 props
PropTypeDefaultDescription
notifications *readonly NotificationItem[]—
onOpen((id: string) => void)—A notification was chosen. It is marked read by the caller.
onRead((id: string, read: boolean) => void)—
onReadAll(() => void)—
onDismiss((id: string) => void)—
labelstring"Notifications"
classNamestring—

Keyboard

  • Keyboard and focus come from Radix popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.

Accessibility

It exposes group and status semantics, with aria-label, aria-hidden and aria-pressed 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-center.md

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

More in Notifications