Playground
Deploy failed
Build exited with code 1.
Variant
Dismissible
Variants
Information Update
A new version of the Pulse Design System is ready to use. Check the changelog for details.
Success Notification
Your settings have been saved successfully and applied across all active instances.
Warning Action Required
Your API keys are expiring in 3 days. Please rotate them to prevent service disruptions.
System Error
Could not establish a connection to the data warehouse. Please check your network configuration and retry.
Inline (No Title)
A fast, minor patch was deployed to resolve formatting issues.
Profile updated successfully.
Dismissible (Interactive)
Dismissible Info Banner
Click the close icon on the right to dismiss this informative notification block.
Dismissible Success Banner
Successfully completed onboarding. Close this alert when ready to proceed.
Dismissible Warning Banner
We detected unusual login attempts from a new IP address.
Dismissible Danger Banner
Failed to connect to the backend server. Please retry in a few moments.
Custom Icons
Custom SVG Icon
This alert utilizes a custom dollar sign currency icon instead of the default info circle icon.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "info" | "success" | "warning" | "danger" | "info" | Controls background, border, text color, and default icon. |
| title | string | — | Optional bold headline displayed above details. |
| children | ReactNode | — | Main content or descriptive message of the alert. |
| onClose | () => void | — | Triggers a dismiss button on the right side if provided. |
| icon | ReactNode | — | Overrides the default status icon with a custom SVG or component. |
| className | string | "" | Additional classes to append. |
Usage Guidelines
When to use
- Use for page- or section-level feedback that needs a moment of attention — danger for errors, success for confirmations, warning for caution, info for neutral context.
- Pass onClose when the alert is genuinely dismissible and not a permanent state the user should keep seeing.
When not to use
- Don't use Alert for a brief, one-off confirmation that doesn't need to persist on the page — use Toast instead.
- Don't stack more than one Alert of the same severity on a single page — consolidate the message instead.