Docs
Sheet
Sheet
Extends the Dialog component to display content that complements the main content of the screen.
Preview
Installation
npx shadcn@latest add sheetUsage
import {
Sheet,
SheetContent,
SheetHeader,
SheetTitle,
SheetTrigger,
} from "@/components/ui/sheet"
<Sheet>
<SheetTrigger>Open</SheetTrigger>
<SheetContent>
<SheetHeader>
<SheetTitle>Edit profile</SheetTitle>
</SheetHeader>
</SheetContent>
</Sheet>On This Page