# Notifications (BookiToasts) · Booki

> Receipts for what just happened. What an agent did carries the agent's mark, with Undo, through useAgentToasts.

Source: https://booki.dev/docs/toasts

Building blocks

# Notifications

`BookiToasts`

Receipts for what just happened. What an agent did carries the agent's mark, with Undo, through useAgentToasts.

The person sees

Bridge demo

```
booki_version=$(npm view @booki-aui/react@latest version) &&
ui_sdk_version=$(npm view "@booki-aui/react@$booki_version" peerDependencies.@ui-sdk/core) &&
pnpm add --save-exact "@booki-aui/core@$booki_version" "@booki-aui/react@$booki_version" "@booki-aui/styles@$booki_version" \
  "@ui-sdk/core@$ui_sdk_version" "@ui-sdk/react@$ui_sdk_version"
```

## Usage example

```jsx
import { BookiToasts, useAgentToasts } from "@booki-aui/react"
import { agent } from "./agent"

export function AgentReceipts() {
  useAgentToasts(agent)
  return <BookiToasts />
}
```

Mount AgentReceipts once in the app shell. A bridge edit shows an agent-marked receipt, with Undo for eligible changes.

Import from `@booki-aui/react`. For Booki's default styling, add `import "@booki-aui/styles"`.
