Overlays

Dialog

A small, interactive UI element that overlays content to display important information or actions. It appears over the main interface for user interaction.

Basic

There’s not much to see here, but you can check out the Modal and Color Picker documentation for more details.

When you use related components like modal or sheet, the dialog component is automatically included, so there's no need for a separate installation.

Installation

Install the component via the CLI in one command.

npx shadcn@latest add @intentui/dialog

Composed components

When you install this component via the CLI, it automatically loads all composed components, so you don’t need to add them individually.

This component comes packed with several components to enhance functionality and provide a seamless experience.

Manual installation

Use this approach if you prefer to install and wire up the component yourself instead of using the CLI.

npm install react-aria-components
Unlock the full power of
Design Intent UI

Build modern web apps faster with 1000+ resources across components, blocks, patterns, templates, and starter kits.

Learn more