Components
Alerts
A message that stays on the page. Info, success, warning, and danger. The tone is a semantic token.
Buy nowAlerts
Saved
The primary colour now points at bone.
<Alert tone="positive">Semantic tokens updated across 3 themes.</Alert>
How to use
A message that stays on the page. Info, success, warning, and danger. The tone is a semantic token.
Alerts exists so designers, engineers, and AI start from the same decision. The preview on this page is the component as it ships. You compose it. You do not redraw it.
Use it when the job matches the name. Reach for a neighbour in the system when it does not. Names in Figma match the names in code, which is what keeps a prototype close to what actually ships.
Tokens
| Token | Value | Use |
|---|---|---|
| --alerts-bg | var(--background) | Surface behind the control |
| --alerts-fg | var(--foreground) | Label and icon |
| --alerts-border | var(--border) | Edge |
| --radius-md | 10px | Default corner |
| --duration-fast | 120ms | Hover and press |
Included
- Info, success, and danger
Memorisely