Description
Reoverlay 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 React component or an element, plus optional props. hideModal closes a named modal or the last visible one, and hideAll closes everything. Named modals can be registered once with Reoverlay.config, which suits app-wide dialogs and interceptors where importing the modal component would be awkward. The optional ModalWrapper supplies a default backdrop, animations, and closing on an outside click or the Escape key. Animation choices include fade, zoom, flip, door, rotate and several slide directions. If you only want the state handling, you can skip the wrapper and render your own modal UI. The package is installed from npm, and the README has a quick start and a full API section. It suits React apps that open dialogs from many places and want to avoid passing modal state through components.…
Highlights
- One modal container with an imperative API
- Named modals registered once
- Built-in wrapper with animations
- Closes on outside click and Escape
- Typed API
Ratings & Reviews
No ratings yet
Be the first to rate reoverlay.
People also visit

mui-modal-provider
[
















