Drawer
Drawer is a Chord overlay component built from Base UI primitives and project tokens.
Drawer
import Button from "@/components/public/Button";import { Drawer } from "@/components/public/Drawer";<Drawer.Root swipeDirection="right"> <Drawer.Trigger render={<Button variant="secondary">Open drawer</Button>} /> <Drawer.Portal> <Drawer.Backdrop /> <Drawer.Popup> <Drawer.Title>Project settings</Drawer.Title> <Drawer.Description> Tune how this workspace behaves. Changes save automatically. </Drawer.Description> <div className="mt-4 flex justify-end"> <Drawer.Close render={<Button variant="secondary">Done</Button>} /> </div> </Drawer.Popup> </Drawer.Portal></Drawer.Root>