Modal

Focuses attention on information or a short flow, over the screen.

Modal/Hero

Design

Up to date

Flutter

Up to date

Widgetbook

-

Overview

The Modal is a full height surface that opens over the screen to carry information or a short flow. It holds optional navigation, the content itself and a subnavigation bar for actions.

Usage

Opening

The Modal opens when triggered by a fan action, such as tapping a button.

Closing

The sheet can be closed or dismissed by tapping an action within the sheet or using the dedicated navigation section (e.g. Close/Cancel).

Overlay

Modals are intended to focus the fan’s attention; therefore, they should always be used in conjunction with an Overlay.

Trapping Focus

The fan should only be able to tab through the elements within the Modal and should not reach other elements until the Modal is closed.

Alignment

Modals always appear from the bottom and stay pinned to the bottom of the screen.

Height

Modals will always fill the available screen size, ensuring a consistent fan experience. There will always be Spacing.s600 padding between the top of the Modal and the top of the device, ensuring the native status bar remains visible.

Scrolling

When the entire contents of the Modal cannot be displayed due to limited height, scrolling will be enabled in the content area. Where CTAs are present, content will scroll behind the Subnavigation Bar.

Similar Components

Bottom Sheet

The Bottom Sheet shares a similar UI with the Modal; however, it is typically reserved for step-based flows. While Modals can guide fans through a sequence of steps within the main experience, Bottom Sheets are generally used for presenting supplementary options or information without completely diverting from the primary task.

Design

Appearance

Modal/Appearance

Item

Usage

1

Light Mode

2

Dark Mode

Anatomy

Modal/Anatomy

Item

Variant

1

Navigation (Optional)

2

Right Text e.g. Cancel / Close (Optional)

3

Content

4

Subnavigation

Animation

sing-2 / Ease Out will be used when opening and closing the Modal. See our Motion guidelines for more information.