randomseeds logo
Random Design System

Alert

Inline feedback for persistent status messages. Supports all status variants, dismissible behavior, icon-only mode, and filled or subtle appearance (subtle uses a thin colored border with a thick left accent).

Status Variants (Filled)

Subtle Appearance

No Title

Dismissible

Icon Only

Info
Saved
Warning
Error

Usage

Use Alerts for persistent, inline feedback that stays visible until the user dismisses it or the condition changes.

Alerts share the same status colors and icons as Toasts. Use filled (default) for prominent messages and subtle for a transparent background with a thin colored border and thick left accent.

Use iconOnly for minimal inline status. For temporary feedback, use Toast instead. For confirmations or critical decisions, use Alert Dialog.

Props

PropTypeDefaultDescription
status"info" | "success" | "warning" | "danger""info"Status color and icon
appearance"filled" | "subtle""filled"Filled background or subtle (thin colored border + thick left)
titleReactNodeBold title text
dismissiblebooleanfalseRenders a close button
onDismiss() => voidCallback when dismissed
iconOnlybooleanfalseCompact inline mode with icon and short text