v0.6.3

Component anatomy

This section names the visible areas of the component. The same names are used in the token documentation so each token can be mapped to the part of the UI it affects.

Containers

Component containers

AreaDescription
ScreenOuter background of the embedded component.
ContainerCentral block that groups the header, statement list, and footer.
HeaderTop section with the title, optional description, and language selector.
Statement listCentral section where consent statements are rendered.
FooterBottom section with the validation alert and CTA button.

Component header

AreaDescription
HeaderTop area that groups the title, header description, and language selector.
TitleMain heading displayed at the top of the component.
Header descriptionOptional explanatory text displayed below the title.
Language selectorControl used to change the component language when multiple locales exist.
Language menuDropdown that displays the available language options.

Statements

Component statements

AreaDescription
Parent statementMain consent item. It can group related child statements.
Child statementConsent item nested under a parent statement.
Statement textMain text that identifies the consent statement.
Statement descriptionExplanatory text that provides more detail about the consent statement.
Expand buttonControl used to show or hide additional statement content.
Help iconIcon that opens or displays additional information about a statement.
Selection controlControl used to accept, reject, or enable a statement. It can be a switch or a checkbox.

Statement cards

Statement cards

AreaDescription
Statement cardVisual container that wraps a consent item in boxed mode. In flat mode, statements are not shown as cards.

Actions and feedback

Component actions and feedback

AreaDescription
Information DialogFloating panel that displays additional information about a consent item.
Validation alertMessage shown when the user must review or complete consent selections.
CTA buttonPrimary action button used to submit or save the current consent selection state.