Sheet
Extends the Dialog component to display content that complements the main content of the screen.
Demo
Usage
Import the parts you need from the component's folder.
ts
import {
Sheet,
SheetTrigger,
SheetClose,
SheetContent,
SheetHeader,
SheetFooter,
SheetTitle,
SheetDescription,
} from "@/components/ui/sheet";Side
Use the side prop on SheetContent to set which edge the sheet slides in from.
API Reference
Sheet
SheetContent
SheetTrigger / SheetClose
Accessibility
Keyboard shortcuts and ARIA behavior.