Modal Dialog

This is an example of a modal dialog component. Modals are commonly used to display important information, gather user input, or confirm actions.

You can click the close button (×) in the top-right corner, press the Escape key, or click outside the modal to close it.

The modal is closed by default and opens when you click the trigger button.