Practic BUI (Base UI) - v1.0.0
    Preparing search index...
    • Renders its children inside a same-origin iframe, so they are styled only by css and whatever they render, never by the page's stylesheets, and the reverse. The children stay in the page's React tree, so context, state, and events work as anywhere else. Styled popups opened inside portal into the frame's body, and the frame follows the page's colour mode and has the app chrome variables, so themes using light-dark(), .dark or the app chrome look the same as on the page.

      It is how a theme is previewed while the page around it keeps its own theme, as @practic/bui-theme-editor does.

      Parameters

      • props: IsolatedFrameProps

        Iframe props, spread onto the frame. style: Merged over the frame's own style.

      Returns Element