Overlayssrc/components/ui/drawer.tsx
Drawer
A bottom sheet dialog for secondary workflows.
Preview
Installation
Copy the component source into your project with `degit`. This port is intentionally not distributed as an npm package.
bunx degit https://github.com/LiasCode/shadcn-preact/src/components/ui#main ./src/components/uiUsage
import { Drawer } from "@/components/ui/drawer"
export function Example() {
return <Drawer>Drawer</Drawer>
}API Reference
ExportPurpose
DrawerComposable part exported by `@/components/ui/drawer`.