Getting Started
Foundations
Components
Search for a command to run...
Sheets (also called slide-outs or side panels) are overlay components that slide in from the edge of the screen to display additional content, forms, or navigation without leaving the current page. Unlike dialogs which appear in the center, sheets are anchored to a screen edge (top, bottom, left, or right) and are ideal for navigation menus, filters, settings panels, or detailed information that needs more space than a popover but shouldn't interrupt the main workflow like a modal dialog.
Built on top of Radix UI's Dialog primitive with smooth slide-in animations, focus trapping, scroll locking, and full accessibility support including proper ARIA attributes and keyboard navigation (Escape to close).
import { Sheet } from "@strongtie/design-system/sheet"This module exports the following components:
SheetSheetPortalSheetOverlaySheetTriggerSheetCloseSheetContentSheetHeaderSheetFooterSheetTitleSheetDescription<SheetContent>This component accepts the following custom props. For additional props inherited from Radix UI primitives see the Radix UI documentation.
| Prop | Type | Default | Description |
|---|---|---|---|
side | "top" | "bottom" | "start" | "end" | null | end |
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
sheet
side (default: end)
| Value | Classes |
|---|---|
top | -top |
bottom | -bottom |
start | -start |
end | -end |
The following data attributes are used to identify component parts:
sheetsheet-closesheet-contentsheet-descriptionsheet-footersheet-headersheet-overlaysheet-portalsheet-titlesheet-triggerOther CSS classes used by this component:
-ghost-iconsheet-close-buttonsheet-close-iconsheet-descriptionsheet-footersheet-headersheet-overlaysheet-titleThis component inherits accessibility features from Radix UI, including: