A basic and commonly used modal.
Modal dialogs appear as an overlay on a page. They should be used when Thumbtack requires a user response or needs to explain critical information without losing context of the page beneath it.
Use when you want a user to confirm an important action or to get information like signing up or logging in. Since modals do interrupt a users’ experience, they could be perceived as annoying or bothersome and should be used with discretion.
Do not use a modal without a trigger from the user, for example on page load. Also, do not use if there is a modal already being displayed.
Context is key. There needs to be a direct connection between the trigger (i.e. a button or link) and the modal that follows. This can be achieved by directly repeating the words of the trigger or using related terms. Maintaining a sense of connection between the CTA and modal transition is important to keep and maintain a consistent user experience.
How modals arrive is just as important as the content they contain. Animation does more than provide a visually pleasing experience. They indicate to the user that there is something on top of the content they are interacting with.
By default, modals can be closed by clicking on the “x” in the upper right hand corner of the container or by clicking anywhere outside of the container which is called the “curtain”. The animation of the arrival is used, just in reverse.
By default, the focus is placed on the first item a user can select, allowing them to quickly select the requested information, or submit the modal.
The default modal allows users to interact with and ultimately alter the experience it is currently interrupting. If you find that the number of required elements for your design is making the dialog convoluted, then try a different design solution.
Covers the underlying content while providing focus to the information being served in the container. Note that there is no curtain below the small breakpoint.
As implied, this is where the contents of the modal dialogue such as text, inputs, buttons, and illustrations are held.
Reinforces context from the initial trigger on page while providing an overview of the modal.
A concise description or simple action a user must address. If multiple steps are required, use a whole page instead.
Contains the primary action of the modal. All modals must have a primary CTA, and can support secondary CTA’s as well. These actions should speak to and reinforce completing the action they are being asked to complete.
Unlike the other modal sizes, the small size is a full screen experience with no curtain. This gives us more space to use and ultimately provide a a better user experience.
Our website relies on white space to separate content and provide direction for users. With no curtain to separate the modal from the background content, we rely on transitions to reinforce page hierarchy. Our modal on small slides up from the bottom to tell the user that the original content is beneath.
Button can be sticky at the bottom or scroll with modal content.
There are two modal sizes; narrow and wide. Each take up a percentage of screen real estate and are responsive to the browser width. You will find two separate symbols in Sketch for the medium & large artboards.
A modal’s height will grow to fit their content up to 50% of the screen’s height. Beyond that, the content will scroll with in the modal.