Modal example screenshot

Getting Started

First, let’s see how we want to use our Modal component:

Note that we’re using Modal and Modal.Content. This way we’ll be able to customize from outside both background overlay and modal content element.


One of the best practices for displaying a Modal element is to render it in…