JollyUI
  1. Docs
  2. components
  3. Dialog

Dialog

A dialog is an overlay shown above other content in an application.

The HTML <dialog> element can be used to build dialogs. However, it is not yet widely supported across browsers, and building fully accessible custom dialogs from scratch is very difficult and error prone. Dialog helps achieve accessible dialogs that can be styled as needed.

Installation

npx shadcn@latest add https://jollyui.dev/default/dialog

Usage

Basic

Alert dialog

Sheet

Popover Dialog