wellyshen

wellyshen/react-cool-onclickoutside

😎 🖱 React hook to listen for clicks outside of the component(s).

TypeScript
551
13
MIT License

React Cool Onclickoutside is a React hook that triggers a callback when users click outside a target component, useful for dismissing dropdowns, modals, and tooltips. It supports multiple refs, excludes scrollbars, ignores elements by CSS class, and optionally detects iframe clicks. The hook is lightweight, TypeScript-compatible, and designed for developers building interactive UI components.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of wellyshen/react-cool-onclickoutside

Account's avatar
Babel compiler core.
Account's avatar
A Babel preset for each environment.
Account's avatar
Babel preset for all React plugins.
Account's avatar
Babel preset for TypeScript.
Account's avatar
Simple and complete React DOM testing utilities that encourage good testing practices.
Account's avatar
TypeScript definitions for jest
Account's avatar
TypeScript definitions for react
Account's avatar
TypeScript definitions for react-dom
Account's avatar
ESLint configuration for React projects that I do. Feel free to use this!
Account's avatar
Modern native Git hooks
Account's avatar
Delightful JavaScript Testing.
Account's avatar
Lint files staged by git
Account's avatar
React is a JavaScript library for building user interfaces.
Account's avatar
React package for working with the DOM.
Account's avatar
React package for snapshot testing.
Account's avatar
A deep deletion module for node (like `rm -rf`)
Account's avatar
Next-generation ES module bundler
Account's avatar
Rollup plugin for LiveReload that watches the bundle and reloads the page on change
Account's avatar
Seamless integration between Rollup and PostCSS
Account's avatar
Serve your rolled up bundle
Account's avatar
Rollup plugin to minify generated es bundle
Account's avatar
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript
Account's avatar
TypeScript is a language for application scale JavaScript development

Support the repos that depend on wellyshen/react-cool-onclickoutside

Top contributors

dependabot-preview[bot]'s profile
dependabot-preview[bot]
1089 contributions
wellyshen's profile
wellyshen
409 contributions
allcontributors[bot]'s profile
allcontributors[bot]
6 contributions
dependabot[bot]'s profile
dependabot[bot]
3 contributions
cherepanov's profile
cherepanov
2 contributions
vardani's profile
vardani
2 contributions
DmitryScaletta's profile
DmitryScaletta
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet