Skip to main content
🧙‍♂️ refine grants your wishes! Please give us a ⭐️ on GitHub to keep the magic going.
Version: 4.xx.xx


Using the useModal hook that comes with the headless version of refine, you may manage a modal. This hook is UI-independent and only includes show and close operations. You can create your UI as you like, and control it with the useModal hook.

Refer to the refine useModal hook documentation for more information. →

Run on your local
npm create refine-app@latest -- --example core-use-modal