Mobile: bottom-center (above bottom nav if present)
Stack: newest on top, max 3 visible
Timing
Content
Duration
Success confirmation
3 seconds auto-dismiss
Information
4 seconds auto-dismiss
Warning
5 seconds or manual dismiss
Error
Manual dismiss only
With action (Undo)
5-8 seconds
Design
Dark background for contrast with page (even on light themes)
Single line preferred, two lines maximum
One optional action button ("Undo", "View", "Retry")
Optional close X button
Enter: slide in from edge. Exit: fade out.
Rules
Never block important content
Never require user action for non-critical info
Group related notifications ("3 files uploaded" not 3 separate toasts)
Don't use for errors that need detailed explanation (use inline instead)
Pause auto-dismiss timer on hover
1---2name: snackbar-toast3description: Snackbar and toast notification design, positioning, auto-dismiss, and action patterns.4---56# Snackbar & Toast78## Position9- Desktop: top-right corner10- Mobile: bottom-center (above bottom nav if present)11- Stack: newest on top, max 3 visible1213## Timing14| Content | Duration |15|---------|----------|16| Success confirmation | 3 seconds auto-dismiss |17| Information | 4 seconds auto-dismiss |18| Warning | 5 seconds or manual dismiss |19| Error | Manual dismiss only |20| With action (Undo) | 5-8 seconds |2122## Design23- Dark background for contrast with page (even on light themes)24- Single line preferred, two lines maximum25- One optional action button ("Undo", "View", "Retry")26- Optional close X button27- Enter: slide in from edge. Exit: fade out.2829## Rules301. Never block important content312. Never require user action for non-critical info323. Group related notifications ("3 files uploaded" not 3 separate toasts)334. Don't use for errors that need detailed explanation (use inline instead)345. Pause auto-dismiss timer on hover
Run npx get-skill add dragoon0x/snackbar-toast in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Snackbar and toast notification design, positioning, auto-dismiss, and action patterns. It is listed under Marketing & Growth on SkillMD.
SkillMD's automated safety review verdict for this skill is PASS. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
dragoon0x (@dragoon0x) published this skill. Their other Agent Skills are listed on their SkillMD profile.