- Docs
- components
- Dialog
Dialog
A dialog is an overlay shown above other content in an application.
Preview
Code
Installation
CLI
Copy & Paste
npx @sly-cli/sly add jolly-ui dialog
Note: Only the default style can be installed via CLI at the moment
Usage
Basic
Preview
Code
Alert dialog
Set isDismissable
to false on the DialogOverlay component and set the role on DialogContent to alertdialog
Preview
Code
Sheet
Preview
Code
Custom close button
Preview
Code