Modal Close

Close an open modal, simple as that!

The Modal Close component is used to close an open modal, simple as that!

It can be added anywhere inside your modal content, and is most commonly used as a button or icon in the top-right corner. You can fully style it to match your design, and even add multiple close buttons if needed (handy for “Cancel” actions at the bottom of a form, for example).

When clicked, it seamlessly hides the modal and returns the user to the main content, no extra setup required.

Last updated

Was this helpful?