Use Click Anywhere
shadcn-io/use-click-anywherePaidHook
React useClickAnywhere hook to detect clicks anywhere on the document. TypeScript, SSR safe, auto-cleanup.
Install it
npx shadcn@latest add https://shadcn.io/r/use-click-anywhere.jsonThis registry keeps its source behind a paywall, so there is nothing to show here. The install command is still correct — it will ask for credentials.
Files it writes
More from shadcn-io
All 7,783 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Use Booleanuse-boolean | shadcn-io | Hooks | Paid | no deps | |
| Use Copy To Clipboarduse-copy-to-clipboard | shadcn-io | Hooks | Paid | 1 dep | |
| Use Countdownuse-countdown | shadcn-io | Hooks | Paid | no deps | |
| Use Counteruse-counter | shadcn-io | Hooks | Paid | no deps | |
| Use Dark Modeuse-dark-mode | shadcn-io | Hooks | Paid | 1 dep | |
| Use Debounce Callbackuse-debounce-callback | shadcn-io | Hooks | Paid | 2 deps | |
| Use Debounce Valueuse-debounce-value | shadcn-io | Hooks | Paid | 1 dep | |
| Use Document Titleuse-document-title | shadcn-io | Hooks | Paid | 1 dep |
