Free alternatives to @rc-component/portal
200 free apps like @rc-component/portal, closest match first.
Top picks
- R

react-portal
Launchreact-portal is a React component that moves its children out of the normal component tree and renders them somewhere else, by default in document.body. It is aimed at modals, lightboxes, loading bars and similar overlays, which often break
- R

react-modal
Launchreact-modal is an accessible modal dialog component for React, maintained in the reactjs organization on GitHub. It renders a dialog above the page so you can show your own content in a popup. You can install it from npm or yarn. For a Reac
- R

react-relative-portal
LaunchReact component for place dropdowns outside overflow: hidden; elements
- R

react-overlays
Launchreact-overlays is a set of utilities for building overlay components in React, such as popovers, modals and tooltips. The package was built from the generic parts of React-Bootstrap, so that developers have access to the underlying building
- F

focus-trap-react
Launchfocus-trap-react is a React component that traps keyboard focus inside one of its children, which is useful for an accessible modal. It is a thin wrapper around the focus-trap library and adds React-specific handling. The trap activates aut
- R

react-popup
Launchreact-popup is a React popup component from Minutemailer, designed as a drop-in replacement for the native window.alert. Only one popup is shown at a time. It uses a global API rather than rendering inside each component, so you render the
More like @rc-component/portal
About @rc-component/portal

@rc-component/portal
React Portal Component
@rc-component/portal is a React portal primitive that renders content outside the normal component tree, into a container of your choosing, with careful handling of the container through the component's lifecycle. It is part of the Ant Design ecosystem and is maintained as one of the rc-component packages that other React component libraries build on. You control where the portal renders with the getContainer prop, which accepts an element, a function that returns one, or a string, and it defaults to the document body. The open prop decides whether the portal content is rendered, and the autoLock prop locks page scroll while the portal is open, which is useful for modal overlays. The README includes install and usage examples, a development setup that runs a local documentation site on port 8000, and a release process that uses the shared rc-np release tool when the package uses it. It suits component authors who need a dependable portal for popups, modals and overlays, rather than a finished modal component. The package is released under the MIT license.
- Price
- Free
- Made by
- zombiej
- Category
- UI Libraries
- Website
- github.com/react-component/portal
































