Important: We now recommend using the official shadcn/ui + Base UI setup for new projects.Learn more
basecn
Components

Drawer (Base UI)

A panel that slides in from the edge of the screen.

Installation

pnpm dlx shadcn@latest add https://basecn.dev/r/drawer-base.json
or

If you are using a namespaced registry, you can use the following command:

pnpm dlx shadcn@latest add @basecn/drawer-base

Examples

Nested Drawers

Snap Points

Indent Effect

On this page