@custom-react-hooks/use-click-outside
MITThe `useClickOutside` hook is designed to detect and handle clicks outside of a specified element or set of elements. This is particularly useful for closing modal windows, dropdowns, and other components when a user interacts outside of them.
95
Security score
0 known advisories in v1.5.1
Weekly downloads
368
Unpacked size
9.7 kB
Dependencies
0
Last publish
1 year ago
Security advisories
No known vulnerabilities affect v1.5.1.
Downloads — last 30 days
1.5K total▼ 7.5% vs prior week
Jul 4Aug 2