react-event-hook
A library for emitting and listening to events in a React application
Found 151377 results for react event hook
A library for emitting and listening to events in a React application
Same as React's `useCallback`, but returns a stable reference.
A React hook for managing event listeners, e.g. removing events when a component unmounts.
React hook which returns the latest callback without changing the reference
Performant, flexible and extensible forms library for React Hooks
A custom React Hook that provides a useEventListener.
Ponyfill of the experimental `React.useEffectEvent` hook
React hook for handling keyboard shortcuts
React component and hook which listens to the beforeunload window event.
A React hook that uses useEffect() on the server and useLayoutEffect() in the browser
A React hook that fires a callback whenever ResizeObserver detects a change to its size
React input component for masked input.
React Hook Form dev tool to help debugging forms
React hook for detecting click, tap or point and hold event. Easy to use, highly customizable options, thoroughly tested.
Returns an object with on-event callback props curried with provided args.
A React hook for the IntersectionObserver API that uses a polyfill when the native API is not available
Fire events the same way the user does
[](https://www.npmjs.com/package/react-use-draggable-scroll)
React Hook Form error message component
A React hook for debouncing setState and other callbacks
React hooks for updating components when the size of the `window` changes.
A React hook for throttling setState and other callbacks
[React](https://react.dev/) UI components for the [AI SDK](https://ai-sdk.dev/docs):
Async hook
A React hook for measuring the size of HTML elements including when they change
Just create a single stylesheet...
React Swipe event handler hook
React hook to dynamically load an external script and know when its loaded
A React hook that updates useRef().current with the most recent value each invocation
An onClickOutside wrapper for React components
React timer hook is a custom react hook built to handle timers(countdown), stopwatch and time logic/state in your react component.
A React hook for managing counters
A React component that allow to bind events on the global scope
Useful react hooks
A react layer for easily utilizing CustomEvent API
A React Hooks package for mutation-observer
<div align="center"> <a href="https://react-hook-form-material-ui.vercel.app/" rel="noopener" target="_blank"> <img src="./rhf-mui.png" alt="Material-UI and react-hook-form combined" /> </a> </div>
A React hook for updating components when the scroll position of the window on the y-axis changes
React input component for formatted number input with locale-specific.
A React hook for merging multiple refs into one ref
The HubSpot tracking code function as a hook to use in your React project (SPA) with all the functions available in the HubSpot Tracking code API documentation.
Hook for listening to window message event and posting message back to source
React hooks that update when media queries change between matched and unmatched states.
Keyboard key handler hook for react
Conditionally run different React hooks at runtime with a clean and safe API that follows the Rules of Hooks.
react library for custom events. Based on eventemitter3
Utility to measure view bounds
React hook useEventCallback
React hook to use IntersectionObserver declaratively.
React hook for tree-changes
React Hook for DOM event listeners with TypeScript supported
The core of the packages included in the `@react-input` scope.
A React hook for tracking the position, hover, and down state of the mouse as it interacts with an element with interop between touch and mouse devices.
React + RxJS = <3
A flexible React Hook for using Local Storage.
React Hook for media query
React hook that persist data in localStorage
A simple hook to create infinite scroll components
Customizable, lightweight React hook for implementing Google's Material UI style ripple effect
React hook for finding device pixel ratio (DPR), optionally capping/rounding
☄️ An extremely light-weight react transition animation hook which is simpler and easier to use than react-transition-group
Easily manage the Google Tag Manager via Hook
This adapter offers a way to seamlessly integrate next-safe-action with react-hook-form.
React hook for Google Maps Places Autocomplete.
React hook to measure elapsed time using requestAnimationFrame
visx event
A tiny (~650 B) & modern library for keybindings.
Zero dependency React transition state machine.
ESLint plugin for react-hook-form
Share custom hook state across all components
A [React hook](https://reactjs.org/docs/hooks-intro.html) for managing side-effects in your reducers.
visx tooltip
React hook to check if the component is still mounted
React Hotkeys Hooks
React Hook for detecting when an element is in the viewport
React hooks done right, for browser and SSR.
React tooltip library built around react-popper
Custom React Hook for loading images.
A React hook that allows you to use a ResizeObserver to measure an element's size.
Type-safe lenses for React Hook Form that enable precise control over nested form state. Build reusable form components with composable operations, array handling, and full TypeScript support.
(This package isn't only restricted to react-native projects. The source is written in plain js with no dependencies to react-native.)
bedrock-layout useStatefulRef
☄️ An extremely light-weight react transition animation hook which is simpler and easier to use than react-transition-group
bedrock-layout useForwardedRef
Lottie for React
React hook for using Geolocation API
react hook to clamp multiline text to a given height in a responsive way (in < 2.5kb)
A React component for launching JW Player instances on the client.
A React hook that stores a value from the previous render
A simple Hook for creating fully accessible dropdown menus in React
Preview component for React DnD
Add in/exit event hook when a react component enter/leave.
Tools for using GSAP in React, like useGSAP() which is a drop-in replacement for useLayoutEffect()/useEffect()
☯️ React hook to determine if you're on the server or browser
Master your And Design form with React Hook Form!
React hook to measure an element's size and handle responsive components.
A small React hook to turn elements into fully renderable & editable content surfaces, like code editors, using contenteditable (and magic)
React hook to listen for clicks outside of the component(s).
Enhance your React apps with advanced scroll detection using @smakss/react-scroll-direction. This powerful hook not only detects scroll direction but also provides scroll position information. Ideal for React, Remix, Next.js, and Gatsby projects, it comes
Hooks for building lightweight, fast and extendable datagrids for React
> React hook to subscribe and dispatch events across React components
React hooks for accessing web broadcast channel.
React hook for using self-correcting setInterval, augmented by management methods (start, stop, isActive)
A versatile precision timer hook for React. Doubles as a stopwatch.
React hook for setting State with delay
A React hook for tracking the hover state of DOM elements in browsers where hovering is possible
A React hook for copying text to the clipboard
Simple HTML5 drag-drop zone with React.js
Detect react-native-edge-to-edge package install
XState tools for React
A React hook that makes it possible to listen to element resize events.
A react hook to trigger callbacks on specified key combo with mousetrap
An easy-to-use React.js component that leverages the Web Speech API to convert text to speech.
React hook for handling double tap on mobile devices
React component and hook for wavesurfer.js
A visualization to explore sequences of events
🐻 Bear necessities for state management in React
React hook to monitor an element enters or leaves the viewport (or another element).
React hook which listens for pressed keys
A simple React custom hook for pull-to-refresh function that support NextJs
A dictionary of file extensions and associated module loaders.
React fetch hook
Containers relating to schedule in the Garden Design System
Containers relating to scroll region in the Garden Design System
An easy to use color/gradient picker for React.js
React hook for tracking clicks outside a ref
React Native appState hook
useEffect hook from ReactJS debounced!
React hook to handle DOM element size
Run long effects without blocking the main thread
React component and hooks for handling light and dark mode.
Dead simple yet powerful countdown hook for React.
React.js custom hook that sets a leak-safe timeout and returns a function to cancel it before the timeout expires.
A React Hook to handle exit intent strategies
A React hook that invokes a callback anytime a value changes
Hook to get the viewport bounds (width and height)
General purpose utils for live content and visual editing
React hook for random text animations
A lightweight EventSource (server-sent-events) hook for react, written in TypeScript
A tiny logger hook for debugging React components.
React component for google autocomplete.
A React hook for using Google Optimize variants in components
A tiny React hook for rendering large datasets like a breeze.
<p align="center"> <img src="logo.png" width="100" height="100"/> </p>
useWorker() - Web worker using React hook
Extends React's useReducer() hook so that the dispatcher supports thunks.
Async-first, reactive event handling library for complex event flows in browser and Node.js
A utility component to allow easy access to browser native events
Debounced effect hook for react
A plugin for TypeDoc to mark React functional components differently than ordinary functions
React hook to check if the component is still mounted
vx event
A React hook for controlling a boolean value with toggle, on, and off callbacks
React hook to attach keyboard shortcuts to the document
A react hook to use the IntersectionObserver declaratively in your React app.
React Hook to manage html meta tags
A React hook for toggling between two values
[![npm package][npm-badge]][npm] ![npm-bundle-size] ![Module formats][module-formats] ![npm-download-count]
Container Query for React Component
React hook library, ready to use, written in Typescript.
Containers relating to Grid in the Garden Design System
visx responsive svg
React hook to handle all the key press.
React Hook for managing state in URL query parameters with easy serialization.
listen for entering/leaving inside nested transitions
React Hooks library for remote data fetching
React hook that persist data in sessionStorage
vx tooltip
A React library for hCaptcha
Analytics hooks for React
React Hook to get DOM Element `BoundingClientRect` together with the `page offset` snapshot, that covers all your needs. What makes the package different - You can trigger an update when you really need it.
Throttle hook for react
A React hook for invoking a callback when hotkeys are pressed
Flipt Client Evaluation React SDK
Monitor if a component is inside the viewport, using IntersectionObserver API
A React primitive for building slim progress bars.
Component and Hook for handling full screen components
A React hook for handling `keydown` events on elements
Byndyusoft UI React Hook
Use immer with React hooks
hook for handling screen orientation in react projects for web
Containers relating to breadcrumb in the Garden Design System
React Theme Switch Animation for ReactJS, NextJS App Router
A custom React hook for simple data fetching with React Suspense
RHDP - React Hook Datepicker. A React Hook based primitive to build simple, flexible datepicker components that are WAI-ARIA compliant, and support localization.
Declarative, nested, stateful, isomorphic page visibility for React
Register child nodes of a react element for better accessibility
A React component for Rutter Link
A React component and hooks wrapper for popper.js
The official React Component for FullCalendar
A react hook for creating simple, fast and lightweight components with infinite scrolling in any direction, supporting both windowed and scrollable elements.
Easily manage the Google Tag Manager via Hook
Usable, dynamic React Timezone Select
* [About the Project](#about-the-project) * [Getting Started](#getting-started) * [Installation](#installation) * [TypeScript](#typescript) * [Usage](#usage) * [Component](#component) * [Props](#props) * [Hook](#hook) * [Roadmap](#roadmap) * [Contributing
simple declarative bindings for react-hook-form and Twilio React Paste components.
React Hook Form strictly typed custom hooks.
📦 useIsMountedRef is a React Hook to check when the component is mounted.
A simple React wrapper for the audio tag
React component to draw confetti for your party.
React hook for using error boundaries
🌀 React hook for Portals
Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)
React hook for subscribing to stdout dimensions in Ink
A React hook for getting the current responsive media breakpoint
React masked input component and hooks
useCookieConsent hook for React apps
An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.
A global event emitter for react.
React Native component that notifies if the user is active or not
The proper (and easy) way of doing modals in React. With Promises.
Facebook's TapEventPlugin, temporarily available on npm until its made public in their repo
A React hook for gracefully resolving async functions and promises
React hook for geolocation access
React Hook and context provider to make interacting with Internet Computer canisters more fun!
React hook that persists data in localStorage
Speech recognition for your React app
React component and hook which detect mouse clicks outside of itself.
Simple React Promise tracker Hook/HOC helper to add loading spinner indicators
React bindings for Keycloak javascript adapter
A custom React Hook that provides a declarative useInterval.
A React Hooks package for window-size
React hook for listening to custom keydown events.
Component autonomous state control utilities in React class methods and React Hooks
A react hook to use the scroll information of an element
React bindings for MobX. Create fully reactive components.
A simple React component that lets you listen for when you have scrolled to the bottom.
A React Hooks package for online
A custom React Hook that provides a multi-instance, multi-tab/browser shared and persistent state.
Tappable and Swipeable component for React.
A React component for handling keyboard events.
🌀 Small (~0.2kb) debounce effect hook for React with TypeScript support
React Hook for SSE
React hook/component to detect overflow state
A React Hooks package for visibility-sensor
useClickOutside is a custom React hook designed for detecting clicks outside a specified element or set of elements.
A hook for displaying and setting breadcrumbs for react router
React hook for setting an interval as posted on overreacted.io
Zero dependency React component for Gmail or Facebook -like drag and drop file uploader. Drag files anywhere onto the window (or user defined 'frame' prop)! Very extensible, provides many hooks so you can use it to develop any custom behavior that you des
A responsive event timeline in React.js
React Hook to figure out DOM Element dimensions with updates
React hook for QR code generation as SVG path
The React-specific Maskito's library
Simple cross-browser speech to text using react hooks.
React wrapper to IndexedDB database.
React Native AppState hook
Lazyload your components, images or anything where performance matters.
Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component.
normalized JS Object and JSON message and event protocol for ES6+ node.js, browsers, electron, vanialla js, react.js, components, actions, stores and dispatchers
React hook for Portals, which renders modals, dropdowns, tooltips etc. to <body> or else.
React hook to detect if web fonts are available 🪝