Skip to Content

Lui.Portal

Renders content into the overlay layer (drawn above the whole app, never clipped) instead of inline, and returns an empty placeholder for the call site. Needs a stable key. See The Overlay Layer and Lui.Portal for details; most apps use the LuiOverlay helpers rather than calling this directly.

Lui.Portal("settings-popup", Lui.Div("absolute inset-0 ...", panel))
Last updated on