Components · Overlays
Modal dialog built on Radix UI. Fully accessible with focus trapping and ARIA roles.
import { Dialog } from '@nexub/react';| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| open | boolean | — | — | Controlled open state. |
| onOpenChange | (open: boolean) => void | — | — | Callback when open state changes. |
| defaultOpen | boolean | false | — | Uncontrolled initial open state. |