Modal
Overview
Purpose
The Modal is a component that appears on top of the main content, grabbing the user’s full attention. It can either span the whole viewport, or sit on top of a semi-transparent background.
Anatomy
The Modal component can be broken down into the following elements -
-
Modal container
The elements of a Modal sit within this container. -
Icon Button
Icon Button to close the Modal. -
Placeholder
Space to put an existing or locally created component.
Variants & States
- Full screen: yes/no
- Padding: on/off
Padding on
Padding off