Components/Drawer

Drawer

A composable drawer primitive for modern product interfaces.

Interactive example

Installation

Run the CLI from your project root. Dependencies and component source are added automatically.

$npx quackelements add drawer

Usage

The generated file lives in your repository, so the component API and styles remain fully editable.

example.tsx
import { Drawer, DrawerTrigger, DrawerContent } from "@/components/quack/drawer"

<Drawer><DrawerTrigger>Open drawer</DrawerTrigger><DrawerContent>Drawer content</DrawerContent></Drawer>