Components
Toast
Confirms something happened, or says it didn't.
Credits added
Your purchase has been credited to your team balance.
<div class="toast" role="status">
<svg>…</svg>
<div><p class="toast-title">Credits added</p><p class="toast-description">Your purchase has been credited to your team balance.</p></div>
</div>
| Part | Value |
|---|---|
.toast |
popover fill, 1px border, 10px radius, 16px padding, depth-floating, 356px wide |
| Icon | 16px: circle-check (success), info circle, triangle (warning), octagon-X (error), spinner (loading) |
.toast-title |
14px medium, sentence case |
.toast-description |
14px muted, optional |
| Enter | 200ms fade and rise on ease-out-strong |
Copy follows Voice: success is a short past-tense fact ("Credits added"), and errors are "Couldn't [verb] [thing]" with the reason in the description. Toasts follow the active theme.