Skip to content
+

Portal

The Portal component lets you render its children into a DOM node that exists outside of the Portal's own DOM hierarchy.

Portal API

Import

import { Portal } from '@mui/base/Portal';
// or
import { Portal } from '@mui/base';
Learn about the difference by reading this guide on minimizing bundle size.

Props

children

container

disablePortal


The component cannot hold a ref.