Skip to main content

Dialog

A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.

PreviewDocs

Features

Modal overlay that blocks interaction with page content

Built with Radix UI Dialog primitive

Customizable header, content, and footer sections

Focus trap keeps keyboard navigation within dialog

Escape key and backdrop click to dismiss

Supports nested dialogs for complex workflows

Shadcn/ui Dialog - Figma Component

A window overlaid on either the primary window or another dialog window, rendering the content underneath inert. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.

Every Dialog 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

Dialogs in Figma

The shadcn/ui figma Dialog creates modal overlays that capture user attention. Design forms, confirmations, and content displays in Figma that block background interaction. This shadcn figma component includes header, content, and footer sections.

Dialog sizes and layouts

Design dialogs in Figma with the shadcn/ui figma component—small for confirmations, medium for forms, large for complex content. Prototype modal flows that adapt to different screen sizes from desktop to mobile.

Dialog vs Drawer

Use the shadcn figma Dialog for focused tasks requiring attention and Drawer for supplementary content. Design the right pattern in Figma—dialogs for forms and confirmations, drawers for navigation and details.

Dialog states and interactions

The shadcn/ui figma Dialog includes open, closed, and overlay states. Design complete modal flows in Figma with backdrop dismissal, close buttons, and keyboard interactions that match shadcn/ui behavior.