JollyUI
  1. Docs
  2. components
  3. Dialog

Dialog

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

Installation

npx @sly-cli/sly add jolly-ui dialog

Note: Only the default style can be installed via CLI at the moment

Usage

Basic

Alert dialog

Set isDismissable to false on the DialogOverlay component and set the role on DialogContent to alertdialog

Sheet

Custom close button