Components
← All components

Portal

stimeo--portal

Moves an element elsewhere on the page, out of a clipping frame or a stacking context.

  • Core

Moves an element elsewhere on the page, typically directly under the body. When an ancestor clips its content or creates a transform or stacking context, an overlay inside it cannot show properly; moving it out escapes that. A marker is left where it came from, so it can return to exactly the same place. On leaving you choose whether it goes back or is taken away, so no stray element is left behind. Where it went is reported as well. It does not compute placement or manage focus, so pair it with the positioning and dialog parts.

running

The card is moved under the body, so it escapes this clipped box and floats at the corner of the screen.

I'm rendered under <body> — outside the dashed box above.

Use case: lift tooltips, popovers, or modals out of an ancestor's overflow: hidden, z-index, or transform so they are not clipped or mis-stacked.

Keyboard

This component has no keyboard interactions of its own.