Hotwire Modal Standards

Design System & Ops – Sr Product Designer – 2019

Problem

A lack of guidelines around our modal messaging standards was causing designers to have to reinvent design and interaction patterns each time they needed to use a modal. This resulted in several different modal treatments scattered throughout the product, as well as additional time spent by our development team building modals from scratch each time.

 

Hypothesis

Componentized and clearly defined modal standards will allow designers to work faster by eliminating the guesswork involved in deciding when to use each type of modal design pattern. Standardized design patterns also allow our Dev team to componentize the code in order to be shared with other development teams.

What is a modal?

A modal window is a graphical control element subordinate to an application’s main window. It creates a mode that disables the main window but keeps it visible, with the modal window as a child window in front of it. Users must interact with the modal window before they can return to the parent application. This avoids interrupting the workflow on the main window.

Where are we using modals?

A product wide teardown was performed in order to get a clear picture of where we’re using different types of modal messaging patterns.

Are there universal industry standards?

Who else uses modals? What types of interactions are associated with modals? Although I was able to find several examples, there was no clear industry standard in terms of closing patterns or interaction guardrails.

4 types of modals were identified

Based on our existing messaging patterns, and patterns being used in the competitive landscape, 4 types of modals were identified.

When to use

Info Modals

Info modals are informational pop-ups that contain one single dismiss option.

Info Modal Prototype

Action Modals

Action modals contain one primary action and once dismiss action. The primary action can link to another page or apply changes to the existing experience.

Action Modal Prototype

Modal animation annotation

Bottom sheet usability test

We conducted a usability test to determine whether users understood how to dismiss a bottom sheet. Many existing design patterns simply displayed a bar icon at the top of the sheet, but I wanted to confirm that the bar was indicator enough to swipe down.

Recommended design update

Based on the feedback we received from 16 different test subjects, the following design recommendations were made.

Bottom Sheets

Bottom sheets are used when a user must select between multiple options. Examples include selecting bed type, number of guests, selecting sort option, etc.

Bottom Sheet Modal Prototype

Modal animation annotation

Expanding Bottom Sheet Prototype

Expanding Bottom Sheet Animation Annotation

Full Screen Takeovers

Full screen takeovers are used when choosing between multiple options or interactions that require multiple steps to complete. Examples include filtering options, destination search, and date selections.

Expanding Bottom Sheet Prototype

Full Screen Takeover Animation Annotation