Skip to main content
πŸ‘€ Interested in the latest enterprise backend features of refine? πŸ‘‰ Join now and get early access!
Version: 4.xx.xx

useModal

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