Skip to main content

Overlay

    The Overlay component allows you to show additional content when the user clicks on a particular element in the UI. The Overlay is placed at the border of its trigger element. To define a UI element as a trigger, use the useOverlayWithTrigger hook. The Overlay only exists in a controlled manner, so the isOpen prop must be updated by the developer.

    Behavior tracking attributes

    Strato sets these data-dt-* attributes on the DOM elements of the component, so that Real User Monitoring can track user interactions. They cannot be changed by the consuming application.

    Overlay

    AttributeValue
    data-dt-nameOverlay
    data-dt-componentOverlay
    Still have questions?
    Find answers in the Dynatrace Community