Open source alternatives to react-portal
200 open source apps like react-portal, closest match first.
Top picks
- R

reoverlay
LaunchReoverlay is a small, typed modal manager for React. You mount one ModalContainer near the root of your app, then open, stack and close modals from anywhere with an imperative API. Reoverlay.showModal takes a modal as a configured name, a R
- S

svelte-portal
Launchsvelte-portal is a Svelte component for rendering content outside the DOM position of its parent. The Portal component moves its content to a target, which can be an element or a CSS selector for an element that already exists, such as #mod
- R

rc-new-window
Launchrc-new-window is a React component that shows content in a separate popup browser window. You place it where you want the window to open and pass either a url or your own children as the popup's content. Props set the popup's name, title, w
Open source
- R

@restart/ui
LaunchRestart UI is a set of React UI components that are headless, which means they come without any styles. Each component handles the logic and state of a piece of interface, such as overlays, and leaves the look and feel to you, so the compon
Open source
- R

react-sticky
Launchreact-sticky is a React component library for making components sticky, so they stay in view as the page scrolls. Version 6 is built around a higher-order component, which the README says gives you control over implementation details, with
Open source
- R

react-body-classname
Launchreact-body-classname is a small React helper for setting the class name on the document body from inside your components. Instead of changing document.body by hand, you describe the classes declaratively, and components nested in your tree
Open source
More like react-portal
React Page Visibility
Declarative, nested, stateful, isomorphic page visibility React component

@egjs/react-infinitegrid
A module used to arrange card elements including content infinitely on a grid

sweetalert2-react-content
Official SweetAlert2 enhancer adding support for React elements as content
About react-portal

react-portal
To make your life with React Portals easier
react-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 when they sit inside a parent with overflow, transform or positioning rules. The component creates a new top-level React tree and injects its children into it, which is what makes positioning and styling reliable. The README says it uses React's official portal API from version 16 and has a fallback for React 15. You can choose the target element rather than always using the body. A separate note points to version 3 documentation for newer usage. It is a small library for developers who need overlays that stay visually correct wherever they are used in the app. The project is hosted on GitHub under tajo.
- Price
- Free
- Made by
- miksu
- Category
- UI Libraries
- Website
- github.com/tajo/react-portal



































