Modals

Modals are a type of dialog that overlays the entire window and prevents the user from performing any other actions until they complete the activity in the modal window.

This pattern is purposely disruptive to the user flow, and therefore should be used when it’s essential to pause the flow or present a substantial amount of information only.

Examples:

  • System or alert modal, i.e., “Delete report? This action is irreversible.”
  • Allow the user to complete a task while they are in the middle of another process flow.

Specifications

Modals sit within our standard 12-column grid. There are three sizes available to fit different needs.

Small | 4 columns of page grid (33%)

Example uses: login flows, product tours

Default | 6 or 8 columns of page grid (50% or 75%)

Default sizing should be used in most instances. Examples: confirmation messaging, like confirmation messaging and alerting the user to critical information.

Large | 10 columns of page grid (83.333%)

Large modals are mostly used for sharing a large amount of text, like in a Terms & Conditions agreement.

Anatomy
1) Modal Header
style: H3
color: Navy
2) Description (optional)
style: Large Paragraph
color: Gray 01
3) Icon - Close
font-face: Font Awesome 6 Pro Light
font size: 20px
line-height: 24px
color: Teal Dark
4) Content Area
Modal Content (copy, images, etc.)
5) Primary CTA
button: Default
6) Secondary CTA
button: Ghost
7) Card Container
background-color: White
border: 1px solid Gray 05
border-radius: 12px
box-shadow: 0px 2px 4px Gray 01
size & spacing

Styles

Scrollable Modal

Contingent on the length of content, a scroll bar will be visible within a modal. Such UI is present mainly in modals that include lengthy documentation. However, content of any kind is placed in the content area.

anatomy
1) Title
style: H5
color: Navy
2) Content Area
style: Large Paragraph
color: Gray 01
3) Scroll Bar
width: 8px
scrollbar-thumb: Gray 02
scrollbar-track: Gray 05
4) Divider
border: 1px Gray 05
5) Checkbox
See Checkboxes page for specifications
6) Gradient
linear-gradient: Gray 07, Gray 07
opacity: 100% - 0%
size & spacing