tajo/react-portal
🎯 React component for transportation of modals, lightboxes, loading bars... to document.body or else. observed · 2026-08-28
Health v2 · maintenance only
25/100
- Activity 4
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4180
- days_rel: n/a
- days_push: 581
- n_releases_24m: 0
Adoption not part of the score
2152 stars · 169 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small React component library that transports children (modals, lightboxes, loading bars) into a portal appended to document.body or a custom DOM node. It wraps React's official portal API with SSR support and convenience features like close-on-ESC and close-on-outside-click.
Use cases
- render modals at the top of the DOM tree in React
- create lightboxes that escape parent CSS positioning
- show loading bars or tooltips outside the component tree
- portal React content into a specific DOM element
- build overlays that close on ESC or outside click
- use portals with server-side rendering
When to choose
- you need a minimal, dependency-free portal wrapper for React 15/16+
- you want built-in open/close state handling with ESC and outside-click closing
- you need SSR-safe portals without manual DOM checks
When to avoid
- you're on modern React and only need ReactDOM.createPortal directly
- you need a full modal/dialog component with accessibility features built in
- the project is unmaintained for your React version and you need active support
Facets
library · maturity maintenance
ui-components frontend-framework frontend web-development browser react portal modal lightbox ssr react-component nodejs web-server
2 sources
- readme: https://github.com/tajo/react-portal · fetched 2026-08-28 · 11cc6618c6ec
- registry_npm: https://registry.npmjs.org/react-portal · fetched 2026-08-29 · 04bf71aa8484
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tajo/react-portal | main | 25 |
For agents
markdown · JSON · MCP: product_card(name="tajo/react-portal")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem