Drawer Component

Capsule-styled slide-out drawers with crisp borders and smooth animations.

Direction Variants

Drawers can slide in from any direction. Try all four directions below.

Profile Settings

A side drawer with header, content, and footer for profile management.

Settings Panel

A settings drawer with toggles and preferences.

Filter Drawer

A filter drawer for e-commerce or listings.

Shopping Cart

A side drawer for reviewing cart items before checkout.

Product Quick View

A side panel for previewing product details.

API Reference

Drawer

The root component that manages open state and direction.

PropTypeDefault
direction"top" | "right" | "bottom" | "left""right"
openboolean-
onOpenChange(open: boolean) => void-