Toast

A temporary UI element that provides important status based information/context.


Overview

The toast component, much like the desktop component, provides status updates and notices to users. Toast’s and their messages are intended to act as invitations for user action (such as a new message) or as disposable status alerts that provide users with a reference to a side affect of a user action.

Toast Overview

Key Features


  1. The toast element should be positioned at the bottom of the screen with a 20px gap between the bottom navigation bar and the component.
  2. An optional element, the CTA button at the right side of the component allows for users to either close the toast or open the relevant content to another screen. Note, that the toast can be closed through a flick gesture.
  3. An icon can be assigned to the toast to provide needed context.
  4. The text of the toast component should not exceed more than two lines.
Toast / Outline-View

Usage


Do
Toast with bold important text.

Text within the toast component can be emboldened to provide needed emphasis.

Don't
Toast with four lines of text.

Avoid adding text that's more than two lines.

Do
Toast is aligned at the bottom of the screen, 20px above the navbar.

Align the toast at the bottom of the screen with a gap of 20px between the component and bottom navigation bar, while aligning the toast to the page margins.

Don't
Toast 20px below the top navbar.

Do not place the toast at the top of a given page.

Do
Toast hovering above page content.

Always place on top of relevant page content while always only placing the toast only in pages.

Don't
Toast hovering over sheets.

Do not place toasts on top of sheets.