A low-level overlay primitive for building custom dialog surfaces.
Copy the command below and run it in your terminal.
Import Modal and use it in your component:
Modal with various structures.
Modal.Root - Controls modal state.
Modal.Trigger - Opens the modal.
Modal.Content - Renders the modal surface.
Modal.Title - Renders the modal title.
Modal.Description - Renders the modal description.
Modal.Header - Groups modal heading content.
Modal.Body - Renders the modal body.
Modal.Close - Closes the modal.
Modal.Footer - Groups modal actions.
Modal.Confirm - Confirms and closes the modal.