npmpackage.info logo

npmpackage.info

@souvik666/react-outside-click-hook

A React hook to detect clicks outside of an element. Returns a ref and a boolean indicating if clicked outside. Useful for modals, dropdown menus, and other UI components that need to be hidden when clicked outside.

1.0.1
2
TypeScript
367.00 B
910

Total Downloads

Cumulative downloads

Total Downloads

910

Last Day

0%

1

Compared to previous day

Last Week

-50%

2

Compared to previous week

Last Month

175%

33

Compared to previous month

Last Year

2.3%

305

Compared to previous year

Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads

Disclaimer: We do not own or store the data displayed on this website. Data is cached for up to 3 hours to improve performance.