Stay organized with collections
Save and categorize content based on your preferences.
A toast is a short, informational message that an app displays briefly near the bottom of the screen.
Only one toast can be displayed at a time. The toast tells a user about an action the app has taken or will take. It does not require any user action or response. After 8 seconds, the toast disappears automatically.
Toasts are related to dialogs (and are in the Dialog family of components), but they differ in purpose and priority, as shown below.
Component
Purpose
Priority
Toast
Displays an informative message. Doesn’t require user interaction. Disappears after 8 seconds.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-23 UTC."],[[["Toasts are short, informational messages displayed briefly at the bottom of the screen, informing users about an app's actions without requiring interaction."],["Toasts automatically disappear after 8 seconds and have lower priority than dialogs which require user interaction."],["Toasts consist of a background and a text message area, and their appearance (fonts, dimensions, placement) can be customized by OEMs."],["OEMs can customize toasts using runtime overlays, following guidance from the design system for layout, typography, and sizing."]]],[]]