Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Function useSafeAreaBoundary

    • Read the element of the nearest enclosing SafeArea, or the viewport below an AppHeader, for popups to use as their collision boundary so they open clear of the app chrome too.

      Returns HTMLElement | null

      The boundary element, or null outside a safe area and a header, or before it mounts.