JSPM

Found 151004 results for react hooks examples

@testing-library/react-hooks

Simple and complete React hooks testing utilities that encourage good testing practices.

  • v8.0.1
  • 99.97
  • Published

@xyflow/react

React Flow - A highly customizable React library for building node-based editors and interactive flow charts.

  • v12.8.4
  • 98.82
  • Published

react-rx

React + RxJS = <3

  • v4.1.31
  • 98.75
  • Published

@mantine/hooks

A collection of 50+ hooks for state and UI management

  • v8.2.7
  • 92.90
  • Published

@rehookify/datepicker

The ultimate tool to create a date, range and time picker in your React applications.

  • v6.6.8
  • 85.35
  • Published

swr

React Hooks library for remote data fetching

  • v2.3.6
  • 82.27
  • Published

usehooks-ts

React hook library, ready to use, written in Typescript.

  • v3.1.1
  • 80.72
  • Published

@mantine/utils

[![npm](https://img.shields.io/npm/dm/@mantine/utils)](https://www.npmjs.com/package/@mantine/utils)

  • v6.0.22
  • 79.86
  • Published

dexie-react-hooks

React hooks for reactive data fetching using Dexie.js

  • v4.2.0
  • 79.22
  • Published

react-haiku

React Hook & Utility Library

  • v2.4.1
  • 77.74
  • Published

use-query-params

React Hook for managing state in URL query parameters with easy serialization.

  • v2.2.1
  • 77.72
  • Published

@react-hook/window-size

React hooks for updating components when the size of the `window` changes.

  • v3.1.1
  • 76.60
  • Published

slate-react

Tools for building completely customizable richtext editors with React.

  • v0.117.4
  • 76.47
  • Published

interpret

A dictionary of file extensions and associated module loaders.

  • v3.1.1
  • 75.43
  • Published

react-tiny-popover

A simple and highly customizable popover react higher order component with no other dependencies!

  • v8.1.6
  • 74.52
  • Published

observable-hooks

React hooks for RxJS Observables. Simple, flexible, testable and performant.

  • v4.2.4
  • 73.57
  • Published

beautiful-react-hooks

A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development

  • v5.0.3
  • 71.93
  • Published

its-fine

A collection of escape hatches for React.

  • v2.0.0
  • 71.19
  • Published

react-hook-form

Performant, flexible and extensible forms library for React Hooks

  • v7.62.0
  • 69.19
  • Published

@liveblocks/react

A set of React hooks and providers to use Liveblocks declaratively. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.

  • v3.4.1
  • 68.85
  • Published

use-analytics

Analytics hooks for React

  • v1.1.0
  • 68.54
  • Published

tslint-react-hooks

TSLint rule that enforces the Rules of Hooks

  • v2.2.2
  • 68.53
  • Published

wagmi

React Hooks for Ethereum

  • v2.16.8
  • 68.04
  • Published

zustand

🐻 Bear necessities for state management in React

  • v5.0.8
  • 67.32
  • Published

react-responsive

Media queries in react for responsive design

  • v10.0.1
  • 67.20
  • Published

@mantine/core

React components library focused on usability, accessibility and developer experience

  • v8.2.7
  • 66.98
  • Published

react-tracked

State usage tracking with Proxies. Optimize re-renders for useState/useReducer, React Redux, Zustand and others.

  • v2.0.1
  • 66.62
  • Published

hook-conditional

Conditionally run different React hooks at runtime with a clean and safe API that follows the Rules of Hooks.

  • v0.2.0
  • 66.37
  • Published

use-effect-event

Ponyfill of the experimental `React.useEffectEvent` hook

  • v2.0.3
  • 66.27
  • Published

minimal-shared

Shared hooks and utils used by Minimal UI and Zone UI.

  • v1.0.15
  • 65.73
  • Published

use-memo-one

useMemo and useCallback but with a stable cache

  • v1.1.3
  • 65.31
  • Published

react-use-intercom

React Intercom integration without the hassle, driven by hooks.

  • v5.5.0
  • 64.13
  • Published

informed

A lightweight framework and utility for building powerful forms in React applications

  • v4.66.0
  • 63.99
  • Published

mobx-react

React bindings for MobX. Create fully reactive components.

  • v9.2.0
  • 63.53
  • Published

react-pre-hooks

Simplify and clean up your components with this react hooks collection.

  • v3.1.6
  • 63.30
  • Published

react-i18next

Internationalization for react done right. Using the i18next i18n ecosystem.

  • v15.7.2
  • 63.28
  • Published

@mantine/dates

Calendars, date and time pickers based on Mantine components

  • v8.2.7
  • 62.78
  • Published

recharts

React charts

  • v3.1.2
  • 61.74
  • Published

react-modal

Accessible modal dialog component for React.JS

  • v3.16.3
  • 61.13
  • Published

use-immer

Use immer with React hooks

  • v0.11.0
  • 60.99
  • Published

react-scroll-parallax

React hooks and components to create parallax scroll effects for banners, images or any other DOM elements.

  • v3.4.5
  • 60.92
  • Published

rest-hooks

Asynchronous data framework for React

  • v7.0.17
  • 60.90
  • Published

rxdb-hooks

React hooks for integrating with RxDB

  • v5.0.2
  • 60.86
  • Published

embla-carousel-react

A lightweight carousel library with fluid motion and great swipe precision

  • v8.6.0
  • 60.46
  • Published

embla-carousel

A lightweight carousel library with fluid motion and great swipe precision

  • v8.6.0
  • 60.39
  • Published

@openapi-qraft/react

OpenAPI client for React, providing type-safe requests and dynamic TanStack Query React Hooks via a modular, Proxy-based architecture.

  • v2.12.0
  • 59.59
  • Published

react-phone-hooks

React hooks and utility functions for parsing and validating phone numbers.

  • v0.1.16
  • 59.57
  • Published

@rooks/use-key

Keyboard key handler hook for react

  • v4.11.2
  • 59.54
  • Published

@mantine/modals

Modals manager based on Mantine components

  • v8.2.7
  • 59.48
  • Published

react-reconciler

React package for creating custom renderers.

  • v0.32.0
  • 59.47
  • Published

next-i18next

The easiest way to translate your NextJs apps.

  • v15.4.2
  • 59.44
  • Published

@mantine/dropzone

Dropzone component built with Mantine theme and components

  • v8.2.7
  • 59.42
  • Published

react-hook-mask

React masked input component and hooks

  • v1.1.18
  • 59.05
  • Published

flagged

Feature flags for React made easy with hooks, HOC and Render Props

  • v3.0.0
  • 58.63
  • Published

react-deep-hooks

React hooks for non-primitive dependencies

  • v1.0.2
  • 58.21
  • Published

redux-query-react

The React interface for integrating with redux-query

  • v3.6.1-rc.2
  • 57.95
  • Published

jooks

An idiot-proof way of testing your custom react hooks

  • v2.0.2
  • 57.93
  • Published

react-router-breadcrumbs-hoc

small, flexible, higher order component for rendering breadcrumbs with react-router 4.x

  • v4.1.0
  • 57.88
  • Published

@lilib/hooks

React hook library.

  • v1.1.0
  • 57.68
  • Published

@mui/material

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

  • v7.3.1
  • 57.64
  • Published

@tonic-ui/react-hooks

A set of React Hooks specifically for use with Tonic UI components.

  • v2.2.0
  • 57.51
  • Published

eslint-plugin-react-hooks-ssr

This plugin helps you to forbid DOM globals within the react server side rendering. - it doesn't support yet React classes - it supports react hooks and custom hooks - it requires some naming conventions to identify other functions where globals may be a

  • v0.1.5
  • 57.47
  • Published

react-query-kit

🕊️ A toolkit for ReactQuery that make ReactQuery hooks more reusable and typesafe

  • v3.3.2
  • 57.06
  • Published

react-burger-menu

An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations

  • v3.1.0
  • 56.92
  • Published

@rpldy/uploady

wrapper&context component to expose and provide react-uploady functionality

  • v1.11.0
  • 56.69
  • Published

@harelpls/use-pusher

A wrapper around pusher-js for easy-as hooks in React.

  • v7.2.1
  • 56.64
  • Published

react-use-is-online

A React hook for detecting if you are online or offline.

  • v1.2.2
  • 56.51
  • Published

rc-pagination

pagination ui component for react

  • v5.1.0
  • 56.48
  • Published

wouter

Minimalist-friendly ~1.5KB router for React

  • v3.7.1
  • 56.46
  • Published

web-api-hooks

Essential set of React Hooks for convenient Web API consumption.

  • v3.0.2
  • 56.21
  • Published

use-persisted-state

A custom React Hook that provides a multi-instance, multi-tab/browser shared and persistent state.

  • v0.3.3
  • 56.16
  • Published

@react-hookz/web

React hooks done right, for browser and SSR.

  • v25.1.1
  • 55.88
  • Published

granular-hooks

The React hooks you know, with added granularity

  • v1.1.0
  • 55.78
  • Published

@lexical/react

This package provides Lexical components and hooks for React applications.

  • v0.34.0
  • 55.72
  • Published

react-stepzilla

A react multi-step, wizard component for managing data collection via forms and sub components

  • v7.0.0
  • 55.52
  • Published

@visx/drag

visx drag

  • v3.12.0
  • 55.51
  • Published

@mantine/spotlight

Command center components for react and Mantine

  • v8.2.7
  • 55.42
  • Published

@apollo/client

A fully-featured caching GraphQL client.

  • v4.0.2
  • 55.36
  • Published

@rest-hooks/react

Normalized state management for async data. Safe. Fast. Reusable.

  • v8.2.2
  • 55.29
  • Published

react-scroll

A scroll component for React.js

  • v1.9.3
  • 54.98
  • Published

rc-align

align ui component for react

  • v4.0.15
  • 54.83
  • Published

@rpldy/retry-hooks

useful hooks for the retry functionality from @rpldy/retry

  • v1.11.0
  • 54.77
  • Published

react-easy-router

The simplest way to add routing to your React app

  • v2.2.0
  • 54.73
  • Published

@storybook/react-vite

Storybook for React and Vite: Develop, document, and test UI components in isolation

  • v9.1.3
  • 54.58
  • Published

import-jsx

Require and transpile JSX on the fly

  • v5.0.0
  • 54.43
  • Published

preact

Fast 3kb React-compatible Virtual DOM library.

  • v10.27.1
  • 54.05
  • Published

apollo-upload-client

A terminating Apollo Link for Apollo Client that fetches a GraphQL multipart request if the GraphQL variables contain files (by default FileList, File, or Blob instances), or else fetches a regular GraphQL POST or GET request (depending on the config and

  • v18.0.1
  • 54.02
  • Published

tunnel-rat

non gratum anus rodentum

  • v0.1.2
  • 53.94
  • Published

lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessible and performance.

  • v0.34.0
  • 53.93
  • Published

reactflow

A highly customizable React library for building node-based editors and interactive flow charts

  • v11.11.4
  • 53.78
  • Published

@mantine/prism

Code highlight with Mantine theme

  • v6.0.22
  • 53.61
  • Published

@kubb/plugin-react-query

React Query hooks generator plugin for Kubb, creating type-safe API client hooks from OpenAPI specifications for React applications.

  • v3.18.2
  • 53.50
  • Published

timescape

A flexible, headless date and time input library for JavaScript. Provides tools for building fully customizable date and time input fields, with support for libraries like React, Preact, Vue, Svelte and Solid.

  • v0.8.0
  • 53.45
  • Published

framer-motion

A simple and powerful JavaScript animation library

  • v12.23.12
  • 53.20
  • Published

react-adaptive-hooks

Give users a great experience best suited to their device and network constraints

  • v0.0.8
  • 52.99
  • Published

@storybook/react-webpack5

Storybook for React and Webpack: Develop, document, and test UI components in isolation

  • v9.1.3
  • 52.99
  • Published

react-animate-height

Lightweight React component for animating height using CSS transitions.

  • v3.2.3
  • 52.77
  • Published

react-top-loading-bar

A very simple, highly customisable react top loader component.

  • v3.0.2
  • 52.73
  • Published

@tryvital/vital-link

React hooks and components for integrating with the Vital Link.

    • v0.1.7
    • 52.71
    • Published

    react-countdown

    A customizable countdown component for React.

    • v2.3.6
    • 52.63
    • Published

    react-wizard-primitive

    A react wizard primitive without UI restrictions - hooks and render props API available!

    • v2.5.0
    • 52.56
    • Published

    @seznam/compose-react-refs

    A simple utility for composing two or more react refs into a single callback ref.

    • v1.0.6
    • 52.49
    • Published

    react-konva-utils

    Useful components and hooks for react-konva

      • v1.1.3
      • 52.44
      • Published

      @mantine/ssr

      Mantine server side rendering utils

      • v6.0.22
      • 52.16
      • Published

      single-spa-react

      Single-spa lifecycles helper for React apps

      • v6.0.2
      • 52.04
      • Published

      react-colorful

      🎨 A tiny (2,8 KB) color picker component for React and Preact apps. Fast, well-tested, dependency-free, mobile-friendly and accessible

      • v5.6.1
      • 51.78
      • Published

      @vitejs/plugin-rsc

      React Server Components (RSC) support for Vite.

      • v0.4.25
      • 51.76
      • Published

      pullstate

      Simple state stores using immer and React hooks

      • v2.0.0-pre.9
      • 51.70
      • Published

      @use-it/interval

      A custom React Hook that provides a declarative useInterval.

      • v1.0.0
      • 51.30
      • Published

      @mantine/next

      Mantine integration for Next.js

      • v6.0.22
      • 51.23
      • Published

      react-linkify

      React component to parse links (urls, emails, etc.) in text into clickable links

      • v1.0.0-alpha
      • 51.14
      • Published

      the-platform

      React Hooks and Suspense-ready Components for Web API's and elements

      • v0.10.1
      • 51.06
      • Published

      @equinor/eds-utils

      Utility functions and hooks for the Equinor Design System

      • v0.8.8
      • 50.77
      • Published

      toastify-react-native

      🎉 toastify-react-native allows you to add notifications to your react-native app (ios, android) with ease. No more nonsense!

      • v7.2.3
      • 50.62
      • Published

      connectkit

      Connecting a wallet, made simple.

      • v1.9.1
      • 50.41
      • Published

      react-markdown

      React component to render markdown

      • v10.1.0
      • 50.31
      • Published

      react-grid-layout

      A draggable and resizable grid layout with responsive breakpoints, for React.

      • v1.5.2
      • 50.21
      • Published

      keen-slider

      The HTML touch slider carousel with the most native feeling you will get.

      • v6.8.6
      • 50.19
      • Published

      @sanity/slate-react

      Tools for building completely customizable richtext editors with React.

      • v2.24.3
      • 49.99
      • Published

      rc-tree-select

      tree-select ui component for react

      • v5.27.0
      • 49.93
      • Published

      @dbeining/react-atom

      State management made simple for React. Built on React Hooks. Inspired by `atom`s in `reagent.cljs`.

      • v4.1.21
      • 49.89
      • Published

      use-ssr

      ☯️ React hook to determine if you're on the server or browser

      • v1.0.25
      • 49.78
      • Published

      @nlux/react

      nlux React is a library for building conversational AI interfaces, with support for OpenAI, HuggingFace, and more.

      • v2.17.1
      • 49.75
      • Published

      hast-util-to-jsx-runtime

      hast utility to transform to preact, react, solid, svelte, vue, etc

      • v2.3.6
      • 49.74
      • Published

      react-sortable-hoc

      Set of higher-order components to turn any list into a sortable, touch-friendly, animated list

      • v2.0.0
      • 49.68
      • Published

      piral-hooks-utils

      Hooks and HOC for pilets and Piral instances.

      • v1.8.5
      • 49.67
      • Published

      react-content-loader

      SVG-Powered component to easily create placeholder loadings (like Facebook cards loading)

      • v7.1.1
      • 49.56
      • Published

      rc-dialog

      dialog ui component for react

      • v10.0.0
      • 49.38
      • Published

      rc-tabs

      tabs ui component for react

      • v15.7.0
      • 49.36
      • Published

      powerhooks

      Some generic React hooks

      • v2.0.1
      • 49.27
      • Published

      flux

      An application architecture based on a unidirectional data flow

      • v4.0.4
      • 49.21
      • Published

      estree-util-build-jsx

      Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)

      • v3.0.1
      • 49.08
      • Published

      react-lazy-load

      Simple lazy loading component built with react

      • v4.0.1
      • 48.91
      • Published

      react-async

      React component for declarative promise resolution and data fetching

      • v10.0.1
      • 48.84
      • Published

      react-media-recorder

      A React component based on MediaRecorder() API to record audio/video streams

      • v1.7.2
      • 48.75
      • Published

      eslint-config-get-off-my-lawn

      A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript.

      • v7.2.0
      • 48.74
      • Published

      body-scroll-lock

      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)

      • v4.0.0-beta.0
      • 48.65
      • Published

      @tracetail/react

      React hooks for TraceTail enterprise browser fingerprinting with over 99.5% accuracy. TypeScript support and React 18 compatibility.

      • v2.3.3
      • 48.56
      • Published

      @chakra-ui/popper

      A React component and hooks wrapper for popper.js

      • v3.1.0
      • 48.54
      • Published

      use-dark-mode

      A custom React Hook to help you implement a "dark mode" component.

      • v2.3.1
      • 48.48
      • Published

      mui-modal-provider

      [![codecov](https://codecov.io/gh/Quernest/mui-modal-provider/branch/master/graph/badge.svg?token=AL2WK480NF)](https://codecov.io/gh/Quernest/mui-modal-provider) [![package version](https://img.shields.io/npm/v/mui-modal-provider.svg?style=flat-square)](h

      • v2.4.6
      • 48.48
      • Published

      re-reselect

      Enhance Reselect selectors with deeper memoization and cache management

      • v5.1.0
      • 48.30
      • Published

      react-json-view

      Interactive react component for displaying javascript arrays and JSON objects.

      • v1.21.3
      • 48.30
      • Published

      use-state-if-mounted

      A hook for updating state only if the component is mounted.

      • v1.0.7
      • 48.19
      • Published

      use-ref-from

      React.useRef with an immediate setter and read-only value.

      • v0.1.0
      • 48.02
      • Published

      simple-react-validator

      A simple react form validator inspired by Laravel validation.

      • v1.6.2
      • 48.01
      • Published

      react-hooks-helper

      A custom React Hooks library that gives you custom hooks for your code.

      • v1.6.0
      • 47.85
      • Published

      react-query-swagger

      Generates react-query hooks for your API based on Swagger/OpenAPI definition

      • v15.12.8
      • 47.81
      • Published

      motion

      An animation library for JavaScript and React.

      • v12.23.12
      • 47.78
      • Published

      recharts-to-png

      This package converts a Recharts chart to a png.

      • v3.0.1
      • 47.65
      • Published