Dokumentation (english)

Dialog

Understand the design system and contribute to it

Component preview

The live preview for UI components is handled by components/atoms/codedocs/ComponentPreview.tsx. Use it directly inside MDX whenever you want a playground-style embed. Provide componentProps to set default values and propOptions to surface toggle-able props next to the preview.

Preview
// All dialog imports in the app point here — this re-exports the responsive
// implementation so dialogs become bottom drawers on mobile automatically.
// Raw radix primitives live in dialog-base.tsx if ever needed directly.

export {
  Dialog,
  DialogTrigger,
  DialogClose,
  DialogPortal,
  DialogOverlay,
  DialogContent,
  DialogHeader,
  DialogFooter,
  DialogTitle,
  DialogDescription,
  DialogResponsive,
  DialogResponsiveTrigger,
  DialogResponsiveClose,
  DialogResponsivePortal,
  DialogResponsiveOverlay,
  DialogResponsiveContent,
  DialogResponsiveHeader,
  DialogResponsiveFooter,
  DialogResponsiveTitle,
  DialogResponsiveDescription,
} from "@/components/ui/dialog-responsive";

On this page


Command Palette

Search for a command to run...

Schnellzugriffe
STRG + KSuche
STRG + DNachtmodus / Tagmodus
STRG + LSprache ändern
STRG + BSidepanel umschalten

Software-Details
Kompiliert vor etwa 15 Stunden
Release: v4.0.0-production
Buildnummer: master@0ad0660
Historie: 50 Items