react-event-hook
A library for emitting and listening to events in a React application
Found 151203 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
Ponyfill of the experimental `React.useEffectEvent` hook
A custom React Hook that provides a useEventListener.
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.
Returns an object with on-event callback props curried with provided args.
React hook for detecting click, tap or point and hold event. Easy to use, highly customizable options, thoroughly tested.
React Hook Form dev tool to help debugging forms
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)
A React hook for debouncing setState and other callbacks
React Hook Form error message component
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):
Just create a single stylesheet...
A React hook for measuring the size of HTML elements including when they change
React Swipe event handler hook
React hook to dynamically load an external script and know when its loaded
Async hook
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 component that allow to bind events on the global scope
Useful react hooks
A react layer for easily utilizing CustomEvent API
A React hook for managing counters
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
react library for custom events. Based on eventemitter3
Conditionally run different React hooks at runtime with a clean and safe API that follows the Rules of Hooks.
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.
React Hook for media query
React + RxJS = <3
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.
A flexible React Hook for using Local Storage.
A simple hook to create infinite scroll components
React hook that persist data in localStorage
Customizable, lightweight React hook for implementing Google's Material UI style ripple effect
☄️ An extremely light-weight react transition animation hook which is simpler and easier to use than react-transition-group
React hook for finding device pixel ratio (DPR), optionally capping/rounding
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.
visx event
React hook to measure elapsed time using requestAnimationFrame
A tiny (~650 B) & modern library for keybindings.
ESLint plugin for react-hook-form
Zero dependency React transition state machine.
Share custom hook state across all components
React hook to check if the component is still mounted
visx tooltip
A [React hook](https://reactjs.org/docs/hooks-intro.html) for managing side-effects in your reducers.
React Hotkeys Hooks
React hooks done right, for browser and SSR.
React tooltip library built around react-popper
React Hook for detecting when an element is in the viewport
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.
Custom React Hook for loading images.
(This package isn't only restricted to react-native projects. The source is written in plain js with no dependencies to react-native.)
☄️ An extremely light-weight react transition animation hook which is simpler and easier to use than react-transition-group
bedrock-layout useStatefulRef
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)
Preview component for React DnD
A React component for launching JW Player instances on the client.
☯️ React hook to determine if you're on the server or browser
Add in/exit event hook when a react component enter/leave.
A React hook that stores a value from the previous render
A simple Hook for creating fully accessible dropdown menus in React
Tools for using GSAP in React, like useGSAP() which is a drop-in replacement for useLayoutEffect()/useEffect()
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)
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
React hook to listen for clicks outside of the component(s).
> React hook to subscribe and dispatch events across React components
Hooks for building lightweight, fast and extendable datagrids for React
React hooks for accessing web broadcast channel.
React hook for using self-correcting setInterval, augmented by management methods (start, stop, isActive)
React hook for setting State with delay
A versatile precision timer hook for React. Doubles as a stopwatch.
Simple HTML5 drag-drop zone with React.js
A React hook for copying text to the clipboard
XState tools for React
A React hook for tracking the hover state of DOM elements in browsers where hovering is possible
Detect react-native-edge-to-edge package install
React hook for handling double tap on mobile devices
A react hook to trigger callbacks on specified key combo with mousetrap
A React hook that makes it possible to listen to element resize events.
React component and hook for wavesurfer.js
An easy-to-use React.js component that leverages the Web Speech API to convert text to speech.
A visualization to explore sequences of events
React hook which listens for pressed keys
🐻 Bear necessities for state management in React
React hook to monitor an element enters or leaves the viewport (or another element).
Containers relating to schedule in the Garden Design System
A dictionary of file extensions and associated module loaders.
A simple React custom hook for pull-to-refresh function that support NextJs
An easy to use color/gradient picker for React.js
React fetch hook
Containers relating to scroll region in the Garden Design System
React hook for tracking clicks outside a ref
A React Hook to handle exit intent strategies
React component and hooks for handling light and dark mode.
React hook to handle DOM element size
Dead simple yet powerful countdown hook for React.
React Native appState hook
Run long effects without blocking the main thread
useEffect hook from ReactJS debounced!
React.js custom hook that sets a leak-safe timeout and returns a function to cancel it before the timeout expires.
React component for google autocomplete.
General purpose utils for live content and visual editing
A tiny React hook for rendering large datasets like a breeze.
React hook for random text animations
A tiny logger hook for debugging React components.
Hook to get the viewport bounds (width and height)
A React hook that invokes a callback anytime a value changes
<p align="center"> <img src="logo.png" width="100" height="100"/> </p>
A lightweight EventSource (server-sent-events) hook for react, written in TypeScript
A React hook for using Google Optimize variants in components
Debounced effect hook for react
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
useWorker() - Web worker using React hook
A plugin for TypeDoc to mark React functional components differently than ordinary functions
Extends React's useReducer() hook so that the dispatcher supports thunks.
vx event
React hook to check if the component is still mounted
A React hook for controlling a boolean value with toggle, on, and off callbacks
React Hook to manage html meta tags
React hook to attach keyboard shortcuts to the document
A react hook to use the IntersectionObserver declaratively in your React app.
Container Query for React Component
Containers relating to Grid in the Garden Design System
React Hook for managing state in URL query parameters with easy serialization.
visx responsive svg
React hook library, ready to use, written in Typescript.
React hook that persist data in sessionStorage
[![npm package][npm-badge]][npm] ![npm-bundle-size] ![Module formats][module-formats] ![npm-download-count]
React hook to handle all the key press.
listen for entering/leaving inside nested transitions
vx tooltip
React Hooks library for remote data fetching
A React hook for toggling between two values
Analytics hooks for React
A React library for hCaptcha
React Hook and context provider to make interacting with Internet Computer canisters more fun!
Throttle hook 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.
Flipt Client Evaluation React SDK
Monitor if a component is inside the viewport, using IntersectionObserver API
Component and Hook for handling full screen components
A React primitive for building slim progress bars.
Byndyusoft UI React Hook
A React component for Rutter Link
Containers relating to breadcrumb in the Garden Design System
A React hook for handling `keydown` events on elements
A React hook for invoking a callback when hotkeys are pressed
A React component and hooks wrapper for popper.js
Use immer with React hooks
Register child nodes of a react element for better accessibility
hook for handling screen orientation in react projects for web
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
The official React Component for FullCalendar
Easily manage the Google Tag Manager via Hook
* [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
Usable, dynamic React Timezone Select
A react hook for creating simple, fast and lightweight components with infinite scrolling in any direction, supporting both windowed and scrollable elements.
simple declarative bindings for react-hook-form and Twilio React Paste components.
React Hook Form strictly typed custom hooks.
React hook for using error boundaries
🌀 React hook for Portals
React component to draw confetti for your party.
A simple React wrapper for the audio tag
📦 useIsMountedRef is a React Hook to check when the component is mounted.
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)
A global event emitter for react.
React hook for subscribing to stdout dimensions in Ink
An embeddable wistia-player web component and React wrapper to add responsive, lightweight, and SEO-friendly videos to your site.
A React hook for getting the current responsive media breakpoint
React masked input component and hooks
React Native component that notifies if the user is active or not
Facebook's TapEventPlugin, temporarily available on npm until its made public in their repo
The proper (and easy) way of doing modals in React. With Promises.
useCookieConsent hook for React apps
React hook for geolocation access
Simple React Promise tracker Hook/HOC helper to add loading spinner indicators
Speech recognition for your React app
A React hook for gracefully resolving async functions and promises
React hook that persists data in localStorage
React component and hook which detect mouse clicks outside of itself.
React bindings for Keycloak javascript adapter
A custom React Hook that provides a declarative useInterval.
React bindings for MobX. Create fully reactive components.
A React Hooks package for window-size
React hook for listening to custom keydown events.
A react hook to use the scroll information of an element
A simple React component that lets you listen for when you have scrolled to the bottom.
Component autonomous state control utilities in React class methods and React Hooks
🌀 Small (~0.2kb) debounce effect hook for React with TypeScript support
Tappable and Swipeable component for React.
A custom React Hook that provides a multi-instance, multi-tab/browser shared and persistent state.
React Hook for SSE
A React component for handling keyboard events.
React hook/component to detect overflow state
A React Hooks package for online
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
A responsive event timeline in React.js
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
React hook for setting an interval as posted on overreacted.io
React Hook to figure out DOM Element dimensions with updates
The React-specific Maskito's library
Simple cross-browser speech to text using react hooks.
Lazyload your components, images or anything where performance matters.
React hook for QR code generation as SVG path
React Native AppState hook
React hook for Portals, which renders modals, dropdowns, tooltips etc. to <body> or else.
Provides utilities to check if ad block is enabled on a page via both a React hook and a wrapper component.
Adds an event listener to window
Minimalist-friendly ~1.5KB router for React
A React Hooks package for visibility-sensor
React wrapper to IndexedDB database.