Alert Dialog
Interruptive confirm dialog.
Loading alert-dialog…
Installation
terminal
npx felicityui add alert-dialog --platform reactUsage
example.tsx
import { Button } from "@/components/ui/button"
<Button>Button</Button>Composition and usage follow Felicity-native APIs. Roles align with the public component catalog at docs/references/felicity-component-catalog.md.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | Additional classes. |
Accessibility
WCAG 2.2 AA
- Native semantics and keyboard support.
- Visible focus indicator.
Platform notes
React
Native HTML with Felicity semantic tokens. Paper/ink surfaces, copper accent sparingly, hairline borders — not Radix/shadcn runtime.
Server Componentcompatible unless marked use client.- Uses
data-slotattributes for anatomy.