v0.1 public beta early access on GitHub
Home / Components / alert

AlertiOS

Inline status message with icon, title and variant tones.

$ npx lumioui add alert
import { IOSAlert, Alert } from "@/components/ui/alert/alert";
Parts: IOSAlert
Alertalert.tsx
alert/alert.tsx open

Live preview — the real component, driven by the props below.

Props8
Alert
variant? "default" | "destructive" | "success" | "warning"
className? string
IOSAlert
open boolean
onOpenChange (open: boolean) => void
title string
message? string
buttons? IOSAlertButton[]
haptic? "warning" | "error" | "success" | false Haptic style when alert appears. Default "warning".
Alert — Inlineinline.tsx
alert/variants/inline.tsx open

Inline status message with icon, title and variant tones.