Vivid API

Dialog

Represents a part of an application that a user interacts with to perform a task.

Labeling

Headline

Use the headline attribute to set the dialog’s headline.

Subtitle

Use the subtitle attribute to set the dialog’s subtitle.

Icon

Use the icon slot to display an icon from the icon library, which prefixes the Dialog’s headline. To add custom icons or to postfix icons, use the graphic slot.

Icon-placement

The icon-placement attribute specifies where the dialog’s icon should appear (relative to the headline).

Scrollable Body

Use the scrollable-body property to make only the content area between the header and footer scrollable (instead of a whole dialog).

The dialog has a default --dialog-body-max-block-size, you can overwrite it to fit your use case.