---
title: Portal React component
components: Portal
---

# Portal

<p class="description">Компонент Portal отображает свои дочерние элементы в новом «поддереве» вне текущей иерархии компонентов.</p>

- 

Дочерние элементы портала будут добавлены внутрь элемента, указанного в свойстве `container`.

The component is used internally by the [`Modal`](/components/modal/) and [`Popper`](/components/popper/) components. На сервере содержимое портала не отрисовывается. You have to wait for the client-side hydration to see the children.

## Simple Portal

{{"demo": "pages/components/portal/SimplePortal.js"}}