Components · Feedback · Notification
Back to Notification typesNotification
Use for a corner-anchored card that reports a background or async event - an icon, bold title, longer description and a close button, with an optional action - one Notification component, controlled by properties, not separate cards glued together.
Properties
Title and description are properties of the same component, not separate cards - change them below to check this notification's types and states in the Live Preview.
Live Preview
All 4 types compared side by side, each in all 3 states - Default, With action and Stacked. Uses the current title and description above.
Placement
Which viewport corner the notification stacks in - its most central property, and the one thing a type x state matrix alone can never show. Multiple notifications in the same placement stack outward from the edge they anchor to.
When to use
A background or async event that the user should learn about even if they aren't watching the page that triggered it.
Component Guide
Overview
Notification is a corner-anchored card that reports a background or async event - an icon, bold title, longer description, and a close button, with an optional action - used for events the user wasn't necessarily watching for, unlike Toast's brief confirmation of an action just taken.
When to Use
- A background task completing - an async upload or export finishing while the user was doing something else.
- A new message or mention alert - an event unrelated to what's currently on screen.
- A system status change or a stack of several notifications - more content or more persistence than Toast is built for.
When Not to Use
- A quick confirmation of an action the user just took - use Toast - it's lighter and self-dismisses faster.
- A message embedded in the page's own content flow - use Alert.
- A decision the user must make before continuing - use Modal or Pop Confirm - Notification is informational, not a blocking choice.
Best Practices
- Give it a real title and description, not just a one-line message - that extra structure is what distinguishes it from Toast.
- Stack multiple notifications clearly rather than replacing one before it's been read.
- Only include an action button when there's a genuinely useful next step (e.g. "View"), not by default.
Do and Don't
Do
Export finished
report-q1.csv is ready to download.
Reports a background job the user was not watching, with enough detail to act on later.
Don't
Saved
A one-word confirmation of something the user just did belongs in a Toast. Notification's weight is meant for events they did not initiate.
Accessibility
- Announced via an aria-live region so it reaches screen-reader users even if their focus is elsewhere on the page.
- The close control is independently focusable and labeled ("Dismiss notification").
- Persists long enough (or until manually dismissed) to be read in full, unlike Toast's short auto-dismiss window.
Related Components
Toast, Alert, Badge.
{
"component": "Notification",
"category": "Feedback",
"summary": "Notification is a corner-anchored card that reports a background or async event - an icon, bold title, longer description, and a close button, with an optional action - used for events the user wasn't necessarily watching for, unlike Toast's brief confirmation of an action just taken.",
"whenToUse": [
"A background task completing - an async upload or export finishing while the user was doing something else.",
"A new message or mention alert - an event unrelated to what's currently on screen.",
"A system status change or a stack of several notifications - more content or more persistence than Toast is built for."
],
"whenNotToUse": [
"A quick confirmation of an action the user just took - use Toast - it's lighter and self-dismisses faster.",
"A message embedded in the page's own content flow - use Alert.",
"A decision the user must make before continuing - use Modal or Pop Confirm - Notification is informational, not a blocking choice."
],
"bestPractices": [
"Give it a real title and description, not just a one-line message - that extra structure is what distinguishes it from Toast.",
"Stack multiple notifications clearly rather than replacing one before it's been read.",
"Only include an action button when there's a genuinely useful next step (e.g. \"View\"), not by default."
],
"doAndDont": {
"do": "Reports a background job the user was not watching, with enough detail to act on later.",
"dont": "A one-word confirmation of something the user just did belongs in a Toast. Notification's weight is meant for events they did not initiate."
},
"accessibility": [
"Announced via an aria-live region so it reaches screen-reader users even if their focus is elsewhere on the page.",
"The close control is independently focusable and labeled (\"Dismiss notification\").",
"Persists long enough (or until manually dismissed) to be read in full, unlike Toast's short auto-dismiss window."
],
"relatedComponents": [
"Toast",
"Alert",
"Badge"
]
}