v0.1 public beta early access on GitHub
Home / Components / drawer

DrawerAndroid

Side sheet navigation with gesture dismiss.

$ npx lumioui add drawer
import { Drawer } from "@/components/ui/drawer/drawer";
Props10
Drawer
open boolean
onOpenChange (open: boolean) => void
children React.ReactNode
side? "left" | "right" Edge the drawer slides in from. Default "left".
width? number Drawer width in pt. Default 300.
className? string Extra classes for the drawer panel.
DrawerItem
label string Item label.
icon? React.ReactNode Optional icon slot before the label.
active? boolean Highlight as the active destination.
className? string