Wizard drawer

WizardDrawer offers a way to show some information without creating a dedicated page for it. Usually used for creating a resource in many steps, while staying on the same page.

#

#

The wizard drawer may be used controlled or uncontrolled. To use the wizard drawer controlled, provide an activeStep prop.

#

When uncontrolled, the wizard drawer will manage the active step internally. If submit throws, then the step will not be incremented.

#

When controlled, the active step is managed by the parent component.

#

#

  • To display a creation flow that doesn't have a dedicated page.

#

  • To display information. Use the Drawer to display information in a drawer.

#

#

NameDefaultDescription
blockBackgroundInteractiontrueeslint-disable-next-line react/boolean-prop-namingboolean

Block scrolling of content behind drawer.

closeOnOverlayClickfalseeslint-disable-next-line react/boolean-prop-namingboolean

Close drawer on overlay click.

isOpenfalseboolean

Determines if drawer is open.

title

string

Title to display at the top of the drawer.

hasOverlayfalseboolean

Render overlay.

size"md""sm" | "md" | "lg" | "xl" | "full"

Drawer size.

onClose

() => void

Callback invoked to close the drawer.

#

NameDefaultDescription

#

NameDefaultDescription

On this page

  • Example
  • Controlled vs uncontrolled
  • Uncontrolled
  • Controlled
  • Guidelines
  • When to use
  • When not to use
  • Props
  • Wizard drawer props
  • Controlled wizard drawer step props
  • Uncontrolled wizard drawer step props