FEEDBACK
Alert
Four tones — error, info, success, muted. Use sparingly: inside panels and on form errors.
PREVIEW
Heads up — info tone.
Saved successfully.
Something went wrong.
A quiet hint.
SOURCE
import { Alert } from '@objectifthunes/whiteboard'
<Alert tone="info">Heads up — info tone.</Alert>
<Alert tone="success">Saved successfully.</Alert>
<Alert tone="error">Something went wrong.</Alert>
<Alert tone="muted">A quiet hint.</Alert>NOTES
Emits the wb-alert class family. Each tone has a light + dark colour variant.
Defaults to tone="info". Use "muted" for soft inline hints.