Sheet

Slide-in panel from any edge, using popover=manual and @starting-style animations

Category: overlay · WCAG 2.2-AA · overlay, drawer, panel, slide

States

Props

PropTypeDefaultDescription
openbooleanWhether the component is open (controlled).
onClose() => voidCalled when the component is closed.
titleReact.ReactNodeTitle text for the component.
side'start' | 'end' | 'top' | 'bottom'endEdge the component is anchored to.

Design tokens

When to use

When not to use

How to build an accessible Sheet in React →

Examples

Basic

<Sheet open={isOpen} onClose={() => setIsOpen(false)} title="Filters">
  <FilterForm />
</Sheet>

Bottom sheet

<Sheet open={isOpen} onClose={close} side="bottom" title="Share">
  <ShareOptions />
</Sheet>

Related components

← Back to docs