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.

image-20240118-113426.png

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.

Where there are more than two dialog buttons at the bottom of the popup, the focus order will be from right to left.

The focus style for elements within the header will be different to other LUX components due to the background fill color.

Design

See Message Popups and Dialogs.

Code

See Message Popups and Dialogs.