Docs
βš™οΈ ⏐ Utils
Portal

Portal

The portal is a component that wraps React's createPortal method to provide a better DX for creating portals. It will automatically inject elements to the body rather than having to manually do that via the core method in React.

Examples

This component can be used via element api.

API

Portal (opens in a new tab)

PropDescriptionDefault