Skip to main content

Installation

Preview

Usage

import { Dialog } from '@/components/ui/dialog'
A window overlaid on either the primary window or another dialog window.

Examples

Basic

Usage notes

Always include DialogTitle for accessibility. Use DialogDescription for context.

Avoid

  • Do not omit DialogTitle
  • Do not nest dialogs