Ethereal Garden

Sheet

A component for displaying a sheet.

A panel that slides out from the edge of the screen.

When To Use

  • When you need a panel that slides in from the edge of the viewport
  • For creating side navigation menus, filter panels, or configuration panels
  • To display additional information without navigating away from the current view
  • When you need a mobile-friendly alternative to modal dialogs

Examples

A basic Sheet component with a trigger button, content, and action buttons.

A Sheet component with different side options (top, right, bottom, left).

A Sheet component that contains a form for user input.

A Sheet component with custom styling and behavior.

Props

Sheet

PropTypeDefault
displayName?
string
-
propTypes?
any
-

SheetTrigger

PropTypeDefault
$$typeof
symbol
-
displayName?
string
-
propTypes?
any
-

SheetContent

PropTypeDefault
$$typeof
symbol
-
displayName?
string
-
propTypes?
any
-

SheetHeader

PropTypeDefault
displayName
string
-

SheetFooter

PropTypeDefault
displayName
string
-

SheetTitle

PropTypeDefault
$$typeof
symbol
-
displayName?
string
-
propTypes?
any
-

SheetDescription

PropTypeDefault
$$typeof
symbol
-
displayName?
string
-
propTypes?
any
-

SheetClose

PropTypeDefault
$$typeof
symbol
-
displayName?
string
-
propTypes?
any
-

Accessibility

The Sheet component follows WAI-ARIA guidelines for dialog components:

  • Uses role="dialog" for the sheet
  • Supports keyboard navigation for opening, closing, and interacting with the sheet
  • When opened, focus is trapped within the sheet until it is closed
  • The Escape key closes the sheet
  • Uses aria-labelledby and aria-describedby to provide context for screen readers