Alert
Inline notification banners: info, success, warning, and destructive, plus a full-width announcement bar. For a blocking confirmation prompt, see Alert Dialog.
A banner fills the parent it is given, so a column of alerts is the same measure top to bottom and a banner over a form lines up with the fields; a Container step sets the measure when the layout calls for one.
A toned banner is Dark Factory's soft panel: the tone's wash with no border, the title in the tone's color, the body in the foreground, and the icon in the tone's solid color, from statusColors (the helper Badge and every toned surface read). The neutral banner is the card with a hairline.
Heads up
Maintenance window scheduled for Sunday 2:00 UTC.
iOS
Heads up
Maintenance window scheduled for Sunday 2:00 UTC.
Android
Heads up
Maintenance window scheduled for Sunday 2:00 UTC.
Web
tsx
Default
Success
Warning
Destructive
Neutral
Dismissible
Actions
Measures come from the parent
Rich body
Pressing the trailing "×" (dismissible) hides the banner out of the box; onDismiss reports it, and a controlled dismissed prop hands that state to the parent instead. Action buttons are real Buttons: wire each one's onPress.
Props
Do & Don’t
info
Don’t
Dressing an act-now message in the neutral info tone hides the urgency; users skim past it like an FYI.
Do
Heads up
Maintenance window scheduled for Sunday 2:00 UTC.
Reserve info for passive, non-urgent context (notices, tips); escalate to warning or destructive when action is required.
success
Don’t
A success banner pinned with no way to dismiss it lingers as visual noise long after the action is done.
Do
✓
Saved
Your changes have been saved successfully.
Make confirmations transient: auto-dismiss or give a Dismiss control so the success state clears once acknowledged.
warning
Don’t
A warning with no specifics or next step leaves the user guessing what to fix and by when.
Do
Action required
Your trial expires in 3 days. Upgrade to keep your projects.
State the consequence, the deadline, and the action: name what's wrong and give a button to resolve it.
destructive
Don’t
Using the destructive variant for non-errors cries wolf; users learn to tune out red and miss real failures.
Do
✕
Something went wrong
Could not save your changes. Please try again.
Match the variant to the severity: reserve destructive for genuine failures, success for confirmations.