JollyUI
  1. Docs
  2. components
  3. Modal

Modal

A modal is an overlay element which blocks interaction with elements outside it.

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

Loading...

Installation

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

Examples

Basic

Loading...

Interactions

Dismissable

Loading...

Keyboard Dismiss Disabled

Loading...

Sheet

Loading...