Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Build accessible, unstyled Vue 3 components using Reka UI (formerly Radix Vue) with WAI-ARIA compliance.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/alert-dialog.md
1# Alert Dialog23Modal dialog requiring action45**Parts:** `AlertDialogRoot`, `AlertDialogTrigger`, `AlertDialogPortal`, `AlertDialogOverlay`, `AlertDialogContent`, `AlertDialogTitle`, `AlertDialogDescription`, `AlertDialogCancel`, `AlertDialogAction`67## AlertDialogRoot89### Props10| Prop | Type | Default |11|------|------|---------|12| `defaultOpen` | `boolean` | - |13| `open` | `boolean` | - |1415### Emits16| Event | Payload |17|-------|---------|18| `update:open` | `[value: boolean]` |1920## AlertDialogTrigger2122### Props23| Prop | Type | Default |24|------|------|---------|25| `as` | `AsTag \| Component` | `"button"` |26| `asChild` | `boolean` | - |2728## AlertDialogPortal2930### Props31| Prop | Type | Default |32|------|------|---------|33| `disabled` | `boolean` | - |34| `forceMount` | `boolean` | - |35| `to` | `string \| HTMLElement` | - |3637## AlertDialogOverlay3839### Props40| Prop | Type | Default |41|------|------|---------|42| `as` | `AsTag \| Component` | `"div"` |43| `asChild` | `boolean` | - |44| `forceMount` | `boolean` | - |4546## AlertDialogContent4748### Props49| Prop | Type | Default |50|------|------|---------|51| `as` | `AsTag \| Component` | `"div"` |52| `asChild` | `boolean` | - |53| `disableOutsidePointerEvents` | `boolean` | - |54| `forceMount` | `boolean` | - |55| `trapFocus` | `boolean` | - |5657### Emits58| Event | Payload |59|-------|---------|60| `closeAutoFocus` | `[event: Event]` |61| `escapeKeyDown` | `[event: KeyboardEvent]` |62| `focusOutside` | `[event: FocusOutsideEvent]` |63| `interactOutside` | `[event: PointerDownOutsideEvent \| FocusOutsideE...` |64| `openAutoFocus` | `[event: Event]` |65| `pointerDownOutside` | `[event: PointerDownOutsideEvent]` |6667## AlertDialogTitle6869### Props70| Prop | Type | Default |71|------|------|---------|72| `as` | `AsTag \| Component` | `"h2"` |73| `asChild` | `boolean` | - |7475## AlertDialogDescription7677### Props78| Prop | Type | Default |79|------|------|---------|80| `as` | `AsTag \| Component` | `"p"` |81| `asChild` | `boolean` | - |8283## AlertDialogCancel8485### Props86| Prop | Type | Default |87|------|------|---------|88| `as` | `AsTag \| Component` | `"button"` |89| `asChild` | `boolean` | - |9091## AlertDialogAction9293### Props94| Prop | Type | Default |95|------|------|---------|96| `as` | `AsTag \| Component` | `"button"` |97| `asChild` | `boolean` | - |98