Other parts (DrawerTrigger, DrawerPortal, DrawerOverlay, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, DrawerClose) are styled wrappers around Vaul components.
Usage
<Drawer><DrawerTriggerasChild><Buttonvariant="outline">Open</Button></DrawerTrigger><DrawerContentonOpenAutoFocus={(e)=>{ e.preventDefault();}}><DrawerHeader><DrawerTitle>Edit profile</DrawerTitle><DrawerDescription> Make changes to your profile here. Click save when you're done.
</DrawerDescription></DrawerHeader><divclassName="grid flex-1 auto-rows-min gap-4"><divclassName="grid gap-3"><labelclassName="text-[12px]"htmlFor="sheet-demo-name">Name</label><InputRootid="sheet-demo-name"defaultValue="Pedro Duarte"/></div><divclassName="grid gap-3"><labelclassName="text-[12px]"htmlFor="sheet-demo-username">Username</label><InputRootid="sheet-demo-username"defaultValue="@peduarte"/></div></div><DrawerFooter><Buttonvariant="primary">Save</Button><SheetCloseasChild><Buttonvariant="secondary">Close</Button></SheetClose></DrawerFooter></DrawerContent></Drawer>