mirror of
https://github.com/hanzoai/design.git
synced 2026-10-30 14:58:37 +00:00
The single source of truth for every Hanzo surface: monochrome opacity-ladder tokens (dark-default), self-contained core/forms/overlays/navigation components (each with .d.ts + .prompt.md), the mark/wordmark + provider/partner logos, and the specimen-card guidelines. One import: @hanzoai/design/styles.css.
398 B
398 B
Transient confirmations after an action succeeds or fails.
<Toaster /> // mount once, near the app root
toast.success('Agent Atlas started')
toast.error('Could not reach the gateway', { description: 'Retrying in 5s' })
Bottom-right, auto-dismiss ~3.5s, one line plus an optional quiet second line. Success shows a small green dot — the only hue permitted here.