dialog / modal
Interruptive overlay dialog. The DSL alias modal maps to wa-dialog.
Note: The
modalcomponent is temporarily disabled in wireframe previews to avoid interfering with the documentation interface. Usemodal=falseto render inline for wireframes.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
title | string | - | Header title. |
open | boolean | true | Visibility state. |
size | sm | md | lg | md | Dialog width (DSL). |
variant | alert | - | Visual intent (e.g. destructive warning). |
native | boolean | false | Renders a system-native alert style. |
modal | boolean | true | If false, renders as an inline sheet (wireframe mode). |
without-header | boolean | false | Hides the header. |
light-dismiss | boolean | false | Closes on clicking outside. |