Portal

fun Html.Portal(target: Node = document.body!!, children: Children)(source)

A component that renders its children to a target DOM element.

Typically used to implement modals, toasts or other UI that needs to break out of the UI tree.

Since

0.3.0

Parameters

target

to render the children to

children

the children