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.
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
Browse all 56 components
- Accordion5 variants
- Alert Dialog5 variants
- Alert4 variants
- Aspect Ratio2 variants
- Avatar8 variants
- Badge5 variants
- Breadcrumb5 variants
- Button Group10 variants
- Button13 variants
- Calendar9 variants
- Card4 variants
- Carousel5 variants
- Chart6 variants
- Checkbox6 variants
- Collapsible3 variants
- Combobox10 variants
- Command4 variants
- Context Menu8 variants
- Data Table1 variant
- Date Picker6 variants
- Dialog4 variants
- Direction1 variant
- Drawer3 variants
- Dropdown Menu11 variants
- Empty5 variants
- Field11 variants
- Hover Card2 variants
- Input Group12 variants
- Input OTP8 variants
- Input13 variants
- Item9 variants
- Kbd4 variants
- Label1 variant
- Menubar4 variants
- Navigation Menu1 variant
- Pagination2 variants
- Popover3 variants
- Progress2 variants
- Radio Group5 variants
- Resizable2 variants
- Scroll Area1 variant
- Select5 variants
- Separator3 variants
- Sheet2 variants
- Sidebar1 variant
- Skeleton5 variants
- Slider5 variants
- Sonner3 variants
- Spinner6 variants
- Switch5 variants
- Table2 variants
- Tabs4 variants
- Textarea4 variants
- Toggle Group6 variants
- Toggle4 variants
- Tooltip3 variants
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.
Your questions, answered
Common questions about the Drawer component in the shadcn/ui Figma kit.
Use Drawer for supplementary content, navigation, or mobile-optimized interfaces. Use Dialog for focused tasks requiring full attention. Drawers are less disruptive and allow users to see the main content while accessing additional options or information.
Yes! Drawers support swipe gestures on touch devices. Users can drag the drawer down (or in the direction it came from) to dismiss it, providing a natural, intuitive interaction that feels native to mobile platforms.
Snap points allow drawers to rest at specific heights, like half-open or three-quarters open. This is useful for bottom sheets that show previews at partial height, then expand to full height when users need more detail, like map applications do.
Absolutely! Drawers are commonly used for mobile navigation menus that slide in from the left. They can contain navigation links, user profile info, settings, and more, keeping the main screen uncluttered until needed.
Yes, drawers include proper focus management, ARIA attributes, and keyboard support. They trap focus when open and return it appropriately when closed, ensuring keyboard and screen reader users can interact effectively.
Yes, this Figma Drawer component matches the shadcn/ui implementation, ensuring your slide-out panels work consistently from design to production with smooth animations and gesture support.