Andarist / Use Onclickoutside
React hook for listening for clicks outside of an element.
Stars: ✭ 361
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Use Onclickoutside
entangle
Global state management tool for react hooks inspired by RecoilJS and Jotai using proxies.
Stars: ✭ 26 (-92.8%)
Mutual labels: hooks, hook
use-scroll-direction
A simple, performant, and cross-browser hook for detecting scroll direction in your next react app.
Stars: ✭ 24 (-93.35%)
Mutual labels: hooks, hook
crypto-watchdog
Crypto Watchdog is an open-source developer friendly project, periodically queries crypto market and notifies potential pumps & recently added tokens/coins via web-hooks.
Stars: ✭ 22 (-93.91%)
Mutual labels: hooks, hook
use-smooth-scroll
React hook which gives a smooth scrolling function.
Stars: ✭ 41 (-88.64%)
Mutual labels: hooks, hook
transition-hook
☄️ An extremely light-weight react transition animation hook which is simpler and easier to use than react-transition-group
Stars: ✭ 250 (-30.75%)
Mutual labels: hooks, hook
React Nprogress
⌛️ A React primitive for building slim progress bars.
Stars: ✭ 173 (-52.08%)
Mutual labels: hooks, hook
use-bus
React hook to subscribe and dispatch events accros React components
Stars: ✭ 51 (-85.87%)
Mutual labels: hooks, hook
rusty-hook
git hook manager, geared toward Rust projects
Stars: ✭ 93 (-74.24%)
Mutual labels: hooks, hook
react-ui-hooks
🧩Simple repository of React hooks for building UI components
Stars: ✭ 20 (-94.46%)
Mutual labels: hooks, hook
Radioactive State
☢ Make Your React App Truly Reactive!
Stars: ✭ 273 (-24.38%)
Mutual labels: hooks, hook
Fre
👻 Tiny Footprint Concurrent UI library for Fiber.
Stars: ✭ 3,195 (+785.04%)
Mutual labels: hooks, hook
use-double-tap
React hook for handling double tap on mobile devices
Stars: ✭ 18 (-95.01%)
Mutual labels: hooks, hook
Useworker
⚛️ useWorker() - A React Hook for Blocking-Free Background Tasks
Stars: ✭ 2,233 (+518.56%)
Mutual labels: hooks, hook
react-use-observer
Performant react hooks for WebApi Observers, useResizeObserver, useInteractionObserver, useMutationObserver
Stars: ✭ 19 (-94.74%)
Mutual labels: hooks, hook
React Use Wizard
🧙 A React wizard (stepper) builder without the hassle, powered by hooks.
Stars: ✭ 162 (-55.12%)
Mutual labels: hooks, hook
useAudioPlayer
Custom React hook & context for controlling browser audio
Stars: ✭ 176 (-51.25%)
Mutual labels: hooks, hook
MouseInjectDetection
Simple method of checking whether or not mouse movement or buttons (<windows 10) are injected
Stars: ✭ 29 (-91.97%)
Mutual labels: hooks, hook
use-onclickoutside
React hook for listening for clicks outside of an element.
Usage
import * as React from 'react'
import useOnClickOutside from 'use-onclickoutside'
export default function Modal({ close }) {
const ref = React.useRef(null)
useOnClickOutside(ref, close)
return <div ref={ref}>{'Modal content'}</div>
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].