Skip to main content

Drawer

A drawer component for React.

PreviewDocs

Features

Slides from left, right, top, or bottom edges

Touch-friendly with swipe-to-close gestures

Smooth animation and transitions

Optional backdrop overlay

Supports snap points for partial open states

Works great as mobile navigation

Shadcn/ui Drawer - Figma Component

A drawer component for React. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.

Every Drawer variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.

Your questions, answered

Drawer positioning in Figma

The shadcn/ui figma Drawer slides from left, right, top, or bottom edges. Design navigation menus from the left, details from the right, and mobile actions from the bottom in Figma. This shadcn figma component includes swipe gestures.

Drawer for mobile navigation

Design mobile navigation in Figma with the shadcn/ui figma Drawer—slide-in menus, filters, and settings that feel natural on touch devices. Perfect for designing mobile-first applications with bottom sheets and side panels.

Drawer vs Dialog

Use the shadcn figma Drawer for supplementary content and Dialog for focused tasks. Design drawers in Figma for navigation and details that complement the main view, letting users see both simultaneously.

Drawer snap points

The shadcn/ui figma Drawer supports snap points for partial open states. Design bottom sheets in Figma that can be half-open for previews or fully expanded for details, perfect for mobile map and detail views.