Dialog

A dialog is an overlay shown above other content in an application.

Examples

Modal

Width: `lg`

Width: `md`

Width: `sm`

With long content

Props

children
ReactNode | ((opts: DialogRenderProps) => ReactNode)—
role
"dialog" | "alertdialog"'dialog'
id
string—
className
string—
style
CSSProperties—
slot
string | null—
width
"lg" | "md" | "sm"—