Registries
ActiveNiche/single-purpose8

@react-easy-modals

Niche/single-purpose · data updated 2026-07-28

react-easy-modals is a lightweight, zero-dependency, headless modal stack manager for React with a promise-based async/await API. The shadcn registry item integrates it with shadcn Dialog for drop-in use. Key features: ModalProvider context wrapper, useModal / useModalAt / useBeforeClose hooks, nested modal support, lazy loading, transition support, TypeScript-first. No animation library dependency. Free and open-source. Use for: replacing ad-hoc useState modal patterns with a clean imperative API when building multi-step flows or confirmation dialogs inside shadcn/ui projects.

aestheticanimationformshooksloadersoverlays

Install

npx shadcn@latest add https://react-easy-modals-docs.vercel.app/r/registry.json

Health

StatusActive
Last commit2 months ago
License
Open issues0
ArchivedNo
Stars8

Components (2)

modalmodal-baseui
Components: modal, modal-baseui

Preview

Live sandbox previews render component source client-side. Where a component can’t be rendered standalone, sh4dcn falls back to its source and install command.

@react-easy-modals · modal

npx shadcn@latest add https://react-easy-modals-docs.vercel.app/r/styles/{style}/modal.json
View source