Call a handler when a pointer press lands outside one or more elements, for closing menus, popovers and inline editors.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-click-outside.json"