Alert & notification

Inline alerts and toast notifications for surfacing feedback, confirmations, and system messages. Alerts come in two icon styles (ring and box), two layouts (card and banner), and five semantic colours. Toasts are portal-rendered to the bottom-right corner of the viewport and auto-dismiss after 5 s.

Card — ring icon

Inline card alert with the ring icon style. The icon sits alongside two radiating pseudo-element rings, giving a soft depth-of-focus feel. Available in five semantic colours.

Card — box icon

Same card layout with the box icon style — the icon lives inside a tinted, inset-shadow container, drawing the eye directly to the intent of the message.

Card with actions

Pass action buttons into the actions slot. Combine a primary CTA with an optional ghost dismiss action for maximum flexibility.

Banner

Full-width bar intended for top-of-page placement. The icon is hidden on small screens and the text truncates to keep the layout compact. Pair with a fixed container for persistent notifications.

Toast notification

Toasts appear from the bottom-right corner of the screen and auto-dismiss after 5 seconds. Wrap your layout in <ToastProvider> and call useToast().addToast() from any child component. Pass duration: 0 for a persistent toast.