Components · Surfaces
Dialog
A modal question with two answers. The safe answer is ghost; the one Return triggers has the default ring.
jsx
import { Dialog } from '@andeus/ui';
Dialog
Props
| Prop | Type | Default | |
|---|---|---|---|
| open | boolean | true | Render or hide; pair with onClose. |
| title | string | ReactNode | Required | |
| icon | IconName | — | |
| actions | ReactNode | — | |
| onClose | () => void | — | Escape and backdrop click. |
| width | number | string | 420 | |
| inline | boolean | false | Render in place, without backdrop. |
| children | ReactNode | — |