Skip to main content

Sheet

The Sheet component is a drawer/modal-like UI element that supports multiple positions and customization options.

Examples

Basic Sheet

Left Sheet

Props

NameDescriptionType
sideDetermines which side the sheet slides in from
  • left
  • right
closeTitleAria-label for the close buttonString
classNameAdditional classes for custom stylingString
closeClassNameCustom classes for the close buttonString
containerSpecifies the container for the sheet portalHTMLElement
childrenThe content of the sheetReactNode

Customization

The approach for customization will vary depending on if the customization is intended to be global for all consumers of the UI component or if it is only an override for a particular instance.

  • If the customization is necessary for all use cases, update the component source code in the UI library package directly.
  • Otherwise, pass className overrides.