Skip to main content

Alert

A notification box. Inline label only — no children. Use a color modifier to convey severity.

Basic usage

blue alert: Your session expires in 30 minutes. Save your work.
green alert: Your changes have been saved.
red alert: Failed to connect to the server. Check your network and try again.

Inline markdown in label

The label supports inline Markdown — bold, italic, code:

blue alert: **Info:** Multi-file support is now available.
red alert: **Error:** Invalid token — please [sign in](#) again.

All color variants

blue alert: Info — blue for informational messages.
green alert: Success — green for confirmations.
red alert: Error — red for failures and destructive actions.
yellow alert: Warning — yellow for caution.
purple alert: Notice — purple for announcements.
gray alert: Muted — gray for neutral system messages.

Reference

ModifierEffect
blueInfo — blue border and text
greenSuccess — green border and text
redError — red border and text
yellowWarning — yellow border and text
purpleNotice — purple border and text
grayMuted — gray border and text