Related Pages: Message PopupsDialogs

Description

A popup is a small window which appears over the primary screen, designed to display important information or collect information from the user.

Popups appear as a result of a user action, such as clicking a button, a link or a menu action.

Popups must be dismissed by the user before returning to the primary screen.

Types

Type

Usage

Example

Message Popups

Displaying warnings, error messages, and important information.

Dialogs

Collecting information from the user, or allowing them to make decisions.

Usage & Behavior

General guidelines

Structure

A popup window consists of:

The popup appears over a semi-transparent black background with an opacity of 40%.

Placement and Positioning

Content

Interaction

Validations and errors

Transitions

Best practices

Use

Do not use

General

Accessibility compliance

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility.

Focus management

The tab index flow will follow the order displayed below. Shift + Tab will follow the reverse order.

In case there are more than 2 dialog buttons at the bottom of the popup, see example below:

Focus visual style on pop-up headers will have a different indication than other LUX components due to the background fill color:

Design

See Message Popups and Dialogs.

Code

See Message Popups and Dialogs.