Modals can contain critical information and require decisions from the user.
Usage of Modals
Modals disable all app functionality and remain on the screen until a required action has been taken.
Anatomy of Modals (m-modal)
Due to its disruptive nature, modals should be used sparingly. Examples include abandoned checkout, Handy Select booking cancellation, late fees, plan cancellation, and sign out.
1. Modal title (a-text-h3)
1
font-weight: bold
2
font-size: 20px;
3
font-color: text-black
4
​
5
padding-left: 16px
6
padding-right: 16px
7
padding-top: 24px
8
padding-bottom: 24px
Copied!
2. Content (a-text-paragraph)
1
font-weight: book
2
font-size: 16px
3
font-color: text-black
4
line-height: 1.5
5
padding: 16px
Copied!
3. CTA Group (button-modal-small-primary and secondary)