Docs

Documentation versions (currently viewingVaadin 25 (prerelease))

Confirm Dialog Styling

Styling API reference for the Confirm Dialog component.

Style Properties

The following style properties can be used in CSS stylesheets to customize the appearance of this component.

To apply values to these properties globally in your application UI, place them in a CSS block using the html {…​} selector. See Component Style Properties for more information on style properties.

Property Supported by

--vaadin-confirm-dialog-min-width

Aura

--vaadin-confirm-dialog-max-width

Aura

See also Dialog Style Properties for common properties that can be applied to Confirm Dialog.

CSS Selectors

The following CSS selectors can be used in stylesheets to target the various parts and states of the component. See the Styling documentation for more details on how to style components.

Overlay

Root element

vaadin-confirm-dialog

Modality curtain (backdrop)

vaadin-confirm-dialog::part(backdrop)

Dialog surface

vaadin-confirm-dialog::part(overlay)

Header

vaadin-confirm-dialog::part(header)

Default title element

vaadin-confirm-dialog > [slot="header"]

Content Area

Content area

vaadin-confirm-dialog::part(content)

Message

vaadin-confirm-dialog::part(message)

Footer

vaadin-confirm-dialog::part(footer)

Confirm button

vaadin-confirm-dialog > [slot="confirm-button"]

Reject button

vaadin-confirm-dialog > [slot="reject-button"]

Cancel button

vaadin-confirm-dialog > [slot="cancel-button"]