Docs
Drawer
Drawer
A panel that slides in from the edge of the screen.
Preview
Installation
npx shadcn@latest add drawerUsage
import {
Drawer,
DrawerContent,
DrawerHeader,
DrawerTitle,
DrawerTrigger,
} from "@/components/ui/drawer"
<Drawer>
<DrawerTrigger>Open</DrawerTrigger>
<DrawerContent>
<DrawerHeader>
<DrawerTitle>Move Goal</DrawerTitle>
</DrawerHeader>
</DrawerContent>
</Drawer>On This Page