param087/saas-ui-skills/notifications-and-toasts
Claude Code and agent skill by param087/saas-ui-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when giving users feedback — toasts (sonner), inline alerts, and a notification center. Covers when to use which, accessible announcements, promise/loading toasts, and not overusing notifications.
Install
npx vskill@latest install param087/saas-ui-skills/notifications-and-toastsSKILL.md
The same SKILL.md was published earlier as param087/saas-ui-skills/notifications-and-toasts.
Notifications & Toasts
Overview
Feedback tells users their action worked (or didn't). Pick the right channel for the message's importance and persistence: toasts for transient confirmations, inline alerts for contextual or blocking info, and a notification center for a history of async events. Overusing toasts trains users to ignore them.
When to use
- Confirming an action (saved, deleted, copied).
- Surfacing a recoverable error or important context.
- Async/background events users should be able to review later.
Pick the channel
| Channel | For | Persistence | |
|---|---|---|---|
| Toast (sonner) | Transient success/error of a user action | Auto-dismiss (~4s) | |
| Inline `Alert` | Contextual, blocking, or persistent info | Stays until resolved | |
| Notification center | Async events, history | Until read/cleared |
Toasts with sonner
Promise toast for async work — one call covers loading → success/error:
Add an undo action instead of a confirm dialog for reversible actions:
Inline alerts for context
When the message belongs to a place on the page (a failed section, a plan limit), use an Alert, not a toast — it stays visible and doesn't disappear before it's read:
Accessibility
- Toasts must live in an
aria-liveregion so screen readers announce them — sonner/shadcn do this; don't roll your own silent toast. - Use
assertivefor errors,politefor success. - Never convey status by color only — include an icon and text.
Don't over-notify
- Don't toast on every keystroke or trivial state change.
- One toast per action; collapse bulk results ("3 invoices sent").
- Critical/irreversible decisions need a dialog (
modals-and-dialogs), not a toast. - Errors the user must fix belong inline next to the cause, not in a toast that vanishes.
Pitfalls
- Toast for everything — noise users learn to ignore.
- Errors-only-as-toasts that auto-dismiss before being read — use inline
Alert. - Non-accessible custom toasts with no live region.
- Color-only status (green/red with no icon/text).
- No undo for reversible destructive actions — friendlier than a confirm modal.
- Stacking dozens of toasts — throttle/dedupe.
Hand-off
The feedback layer for forms-and-validation, data-tables bulk actions, and settings-pages; escalate critical decisions to modals-and-dialogs.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/notifications-and-toasts/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/param087/saas-ui-skills/notifications-and-toasts)