Wizard Dialog

Modal dialog with a left rail for wizard context and a right column for step content and actions.

This component uses the same Radix Dialog primitive as Dialog for Root, Trigger, Close, and Content. View source

Same behavior as Dialog.

PropTypeDefault
size'1' | '2' | '3' | '4' | '5' | '6''5'

Width mapping matches Dialog.Content. Padding defaults to 0 on the content surface so the sidebar and body control spacing; use className or inner layout components if you need extra padding on the shell.

Horizontal split on sm and up; stacks vertically on smaller viewports. Wraps Sidebar and Main.

Left rail for the wizard title block (SidebarHeader), step list, or other navigation. Renders with internal padding.

PropTypeDefault
titleReact.ReactNoderequired
descriptionReact.ReactNode
errorReact.ReactNode
childrenReact.ReactNode

Same responsibilities as Dialog.Header for title, optional description, and optional error callout.

Right column wrapper. Place Body then Footer inside so actions only span the main column.

Same scroll behavior as Dialog.Body, including the optional scrollable prop.

Right-column actions only (typically aligned to the end). Uses the same flex alignment pattern as Dialog.Footer.

See packages/design-system/docs/design/components/wizard-dialog.md.