Z
Zyeon UI

useClickOutside · Zyeon UI

A hook that runs a handler when a pointer interaction lands outside one or more referenced elements.

npx shadcn@latest add @zyeon/use-click-outside
Preview useClickOutside on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useClickOutside hasn't had its turn. Its source will show here once it has.