Component primitive
Brand Alert
<brand-alert> pairs a status icon, clear title, and useful next step. The icon is supplied automatically and can be replaced through the icon slot.
<brand-alert>Framework-agnostic custom element- Element
- <brand-alert>
- Library
- Brand
- Runtime
- Web Component
- Theming
- Semantic tokens
Variants
New workspace policyReview the updated sharing rules before inviting collaborators.
Changes savedYour profile is now up to date.
Approval requiredA workspace owner must approve this change.
Upload failedCheck the file type and try again.
Scheduled maintenanceAdmin tools will be unavailable for ten minutes.
Fill (solid)
Soft (pale tint)
Closable
Keyboard shortcuts enabledDismiss this notice when you are ready.
Usage
import { BrandAlert } from '@brandos/ui';
<brand-alert variant="success" open>
<strong>Saved.</strong> Your changes are live.
</brand-alert>
// JS, toast notification
const alert = document.createElement('brand-alert');
alert.setAttribute('variant', 'success');
alert.textContent = 'Saved!';
alert.toast();