Agent Toasts
A stack of notifications for agents and background automation where each toast carries a small chart instead of a status icon: a dot matrix for test results, context usage or a diff, a pipeline of steps that stops at the failed one, a bar history whose last bar is this run, and a branch that merges back.
When to use it
- An AI agent, CI/CD or background automation product that reports finished work while the user is doing something else
- Notifications whose action should run in place: retry a failed deploy, compact a full context, re-run a job
- Any toast where a count, a failed step or a trend says more than a tick or a cross
Watch out
- Drive the charts and the in-place updates from real events; the demo uses timers only to show the sequence
- A toast with an action or busy never times out, so a failure stays until someone acts on it. Still show important failures somewhere permanent: a toast is not a log
- Update a toast by id (push the same id or call update) instead of dismissing it and pushing a new one, or the anchor is lost
- Amber uses --sunui-warning and falls back to --sunui-rating; blue is your brand spot colour, there is no purple
Let your agent add it
One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.
This is a Pro block
One license unlocks every Pro block, now and in the future.
One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.
Install with your license
- 1. Add the SunUI Pro registry to
components.json.components.json{ "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } - 2. Put your license key in
.env.local.$ SUNUI_LICENSE_KEY=your-license-key - 3. Install the block.
$ npx shadcn@latest add @sunui-pro/agent-toasts





