Skip to main content

Data attributes

When addressing a component in a test or in an analytics framework you can use the data-testid property that's available on most components. This property will be applied to the component's root element.

caution

Avoid using the test-ids that are already present on certain elements. These are for internal use and can not be relied on.