Drawer

A Base UI drawer component

Loading...

Installation

$npx shadcn@latest add @craftdotui/baseui-drawer

Anatomy

Demo

Controlled Drawer

Loading...

Positions

Loading...

Straight Radius

Loading...

Inset Variant

Loading...

Snap Points

Loading...

Scrollable

Loading...

Swipe to Open

Loading...

Swipe to Close

Loading...

Detatched Triggers

Loading...

Nested with Stacking

Loading...

Non-modal Drawer

Loading...

Props

DrawerContent

Prop
Type
Default