Intro
Modality is a design technique used to temporarily shift a user’s focus to a specific task or set of information by presenting content in a separate layer above the current view. This type of presentation often disables interaction with the underlying screen until the user completes or dismisses the modal interaction.
Modal sheet in compact width (left) and form sheet in regular width (right)
Usage
Do
Use modality to present critical information that requires acknowledgment by prompting users for decisions or inputs.
Don't
Don’t use modal overlays for routine navigation or trivial actions.
- Keep modal tasks self-contained and interruptive only when necessary.
- Respect platform conventions, such as swipe-down to dismiss on iPhone, and tapping outside the form sheet to dismiss on iPad.
- Adapt the appropriate modal presentation to corresponding screen size (i.e. use form sheets or popovers on iPad instead of full-screen views when full immersion isn't needed).
- Don’t overload alerts or modals with too many options or content.
- Don’t use multiple modal layers unless absolutely required
Variations
Different types of components can be used to present content modally.
Alerts
Alert example in compact width
Action Sheets
Action sheet in compact width
Activity Views
The activity view appears as a sheet from the bottom of the screen, and blocks interaction until dismissed. It can be dismissed when the user taps “Cancel” or selects an action, which is automatically dismissed after selection. The activity view appears as a full-screen modal on iPhone (compact width), and as a popover or sheet on iPad.
Activity view in half height (left) and activity view in full height (right)
Popovers (iPad)
Tapping outside of the popover allows the user to dismiss the modal.
Popover in regular width
Modal Sheets
Modal sheets require users to complete a task or dismiss the sheet before continuing. They are ideal for facilitated, focused tasks such as editing a form or making multi-step decisions.
Modal sheets animate upward from the bottom of the screen. They are full-screen on iPhone (compact width) and form sheet on iPad, inset and centered on the screen with a dimmed background. Modal sheets typically include a navigation bar with a “Close” or “Cancel” action and must be dismissed explicitly, for example, by tapping “Done” or “Cancel”.
Modal sheets require users to complete a task or dismiss the sheet before continuing. They are ideal for facilitated, focused tasks such as editing a form or making multi-step decisions.
Modal sheets animate upward from the bottom of the screen. They are full-screen on iPhone (compact width) and form sheet on iPad, inset and centered on the screen with a dimmed background. Modal sheets typically include a navigation bar with a “Close” or “Cancel” action and must be dismissed explicitly, for example, by tapping “Done” or “Cancel”.
Full-screen modal in
compact width
Non-Modal Sheets
Non-modal sheets are dismissible through background taps or gestures, and do not require the user to explicitly complete an action, unlike modal sheets.
Non-modal sheet in compact width
Resources
Related Components/Patterns: Sheets