VISUALLIdesign system

Overlays

Dialog

Modal dialog over a scrim, for short focused tasks (rename, confirm delete, comfort settings).

Playground

Change the props, switch theme in the header, try Tablet and Phone widths, then copy the code.

Playground

Examples

Live previewOpen ↗

Props

export interface DialogProps {
  open: boolean;
  title: string;
  description?: string;
  actions?: ReactNode;
  onClose?: () => void;
  inline?: boolean;
  children?: ReactNode
}

Use

import { Dialog } from '@visualli/design-system/components';

Source: components/src/ · Guidelines: components/catalog/Dialog/README.md