UI Kit - Modals

Modal dialogs

Modals are used to work with large amounts of data that would need a new page to complete. Modals are great for wizards and long forms because they focus a user on the new task without switching context. Modals do not stack on top of each other; they all share a common Y-axis reveal and are as wide as the primary column on a split layout page.

Used on large screens and tablets, they fix themselves just below the header and expand downward as needed. They must leave at least 40 pixels of space at the bottom and scroll overflow content inside. Modals are the same width as the primary layout column in a harness and need dual "Cancel" actions, as some users miss the "x" in the top right corner to dismiss the modal.

Desktop modal example

On smaller mobile screens, the modal slides in from the bottom of the screen covering both the content and navigation.

Mobile modal example