Toast
A short note that floats in after an action, like Saved successfully, and goes away on its own after a few seconds, with an optional Undo.
The in-app inbox of product notifications, behind a bell with the unread count.
The durable in-app inbox: a bell with the unread count and a 24rem popover list. Below 40rem it opens as a full-height Drawer with the same rows.
Open the bell, open an item to mark it read, or Mark all read (announced politely). Unread is a filled rail marker plus a New badge, never colour or weight alone. The count chip goes away at zero.
Use NotificationStack for payments, sign-ins and billing updates people read later. It is built on the kit Popover; inline renders the same panel on a page. Toasts stay for instant feedback, and agent approvals live in AgentInbox.
The durable in-app inbox of product notifications: an sm bell with the unread count opens a 24rem kit Popover (a full-height Drawer below --grid-breakpoint-sm) with the list, Mark all read and View all. Toasts stay for instant feedback; agent approvals live in AgentInbox.
import { NotificationStack } from "agentic-ds-kit";From contracts/notificationstack.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| items | array | Yes | — | { id, title, body?, createdAt, read, tone?: 'neutral'|'success'|'info'|'warning'|'danger', icon?, group?, action?: { label, onClick } }[]. group ("Today", "Yesterday") gathers items under a heading; action is one outline sm Button, only when the event needs a decision. createdAt shows in mono. |
| label | string | No | Notifications | — |
| open | boolean | No | — | — |
| defaultOpen | boolean | No | false | — |
| onOpenChange | function | No | — | — |
| inline | boolean | No | false | Render the panel in place, with no bell or popover. |
| onItemClick | function | No | — | — |
| onMarkRead | function | No | — | Called when an unread item is opened. |
| onMarkAll | function | No | — | — |
| onViewAll | function | No | — | — |
| emptyTitle | string | No | You’re all caught up | — |
| emptyDescription | string | No | — | — |
| loading | boolean | No | false | — |
| error | string | No | — | — |
| onRetry | function | No | — | — |
A short note that floats in after an action, like Saved successfully, and goes away on its own after a few seconds, with an optional Undo.
A queue of what agents need from you: approvals, questions, failed runs and finished recaps.
Inline status banner that stays on the page.
Edge panel for secondary tasks.