A modal dialog component for important interactions. Features focus trapping, keyboard navigation, and smooth animations.
npm install @uicomponents/dialog| Prop | Type | Default | Description |
|---|
WCAG Level
AA
Keyboard Support
Yes
Screen Reader
Yes
The Dialog component announces its role and state to screen readers.
Focus is managed according to WAI-ARIA guidelines.
| Variable | Default | Description |
|---|
Copy the code above or explore more components in our library.