JSPM

Found 151061 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.96
  • Published

react-rx

React + RxJS = <3

  • v4.1.31
  • 99.14
  • Published

@xyflow/react

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

  • v12.8.4
  • 98.83
  • Published

@mantine/hooks

A collection of 50+ hooks for state and UI management

  • v8.2.7
  • 93.18
  • Published

@rehookify/datepicker

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

  • v6.6.8
  • 85.42
  • Published

swr

React Hooks library for remote data fetching

  • v2.3.6
  • 82.72
  • Published

usehooks-ts

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

  • v3.1.1
  • 81.16
  • Published

@mantine/utils

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

  • v6.0.22
  • 80.17
  • Published

dexie-react-hooks

React hooks for reactive data fetching using Dexie.js

  • v4.2.0
  • 79.40
  • Published

use-query-params

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

  • v2.2.1
  • 77.95
  • Published

react-haiku

React Hook & Utility Library

  • v2.4.1
  • 77.53
  • Published

@react-hook/window-size

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

  • v3.1.1
  • 76.88
  • Published

slate-react

Tools for building completely customizable richtext editors with React.

  • v0.117.4
  • 76.39
  • Published

interpret

A dictionary of file extensions and associated module loaders.

  • v3.1.1
  • 75.50
  • Published

react-tiny-popover

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

  • v8.1.6
  • 74.86
  • Published

observable-hooks

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

  • v4.2.4
  • 73.77
  • Published

beautiful-react-hooks

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

  • v5.0.3
  • 72.33
  • Published

its-fine

A collection of escape hatches for React.

  • v2.0.0
  • 71.50
  • Published

react-hook-form

Performant, flexible and extensible forms library for React Hooks

  • v7.62.0
  • 69.25
  • 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.5.1
  • 69.07
  • Published

use-analytics

Analytics hooks for React

  • v1.1.0
  • 68.74
  • Published

tslint-react-hooks

TSLint rule that enforces the Rules of Hooks

  • v2.2.2
  • 68.31
  • Published

wagmi

React Hooks for Ethereum

  • v2.16.8
  • 68.25
  • Published

zustand

🐻 Bear necessities for state management in React

  • v5.0.8
  • 67.75
  • Published

react-responsive

Media queries in react for responsive design

  • v10.0.1
  • 67.37
  • 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
  • 67.24
  • Published

@mantine/core

React components library focused on usability, accessibility and developer experience

  • v8.2.7
  • 67.12
  • Published

react-tracked

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

  • v2.0.1
  • 66.87
  • Published

use-effect-event

Ponyfill of the experimental `React.useEffectEvent` hook

  • v2.0.3
  • 66.53
  • Published

minimal-shared

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

  • v1.0.15
  • 66.02
  • Published

use-memo-one

useMemo and useCallback but with a stable cache

  • v1.1.3
  • 65.50
  • Published

react-use-intercom

React Intercom integration without the hassle, driven by hooks.

  • v5.5.0
  • 64.35
  • Published

informed

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

  • v4.66.0
  • 64.08
  • Published

mobx-react

React bindings for MobX. Create fully reactive components.

  • v9.2.0
  • 63.82
  • Published

react-i18next

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

  • v15.7.3
  • 63.49
  • Published

react-pre-hooks

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

  • v3.1.6
  • 63.14
  • Published

@mantine/dates

Calendars, date and time pickers based on Mantine components

  • v8.2.7
  • 63.08
  • Published

recharts

React charts

  • v3.1.2
  • 61.62
  • Published

use-immer

Use immer with React hooks

  • v0.11.0
  • 61.26
  • Published

rxdb-hooks

React hooks for integrating with RxDB

  • v5.0.2
  • 61.17
  • Published

react-scroll-parallax

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

  • v3.4.5
  • 61.16
  • Published

react-modal

Accessible modal dialog component for React.JS

  • v3.16.3
  • 60.98
  • Published

rest-hooks

Asynchronous data framework for React

  • v7.0.17
  • 60.77
  • Published

embla-carousel-react

A lightweight carousel library with fluid motion and great swipe precision

  • v8.6.0
  • 60.26
  • Published

embla-carousel

A lightweight carousel library with fluid motion and great swipe precision

  • v8.6.0
  • 60.22
  • 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.80
  • Published

@mantine/modals

Modals manager based on Mantine components

  • v8.2.7
  • 59.75
  • Published

react-phone-hooks

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

  • v0.1.16
  • 59.72
  • Published

@mantine/dropzone

Dropzone component built with Mantine theme and components

  • v8.2.7
  • 59.72
  • Published

next-i18next

The easiest way to translate your NextJs apps.

  • v15.4.2
  • 59.69
  • Published

@rooks/use-key

Keyboard key handler hook for react

  • v4.11.2
  • 59.69
  • Published

react-reconciler

React package for creating custom renderers.

  • v0.32.0
  • 59.33
  • Published

react-hook-mask

React masked input component and hooks

  • v1.1.18
  • 59.04
  • Published

react-deep-hooks

React hooks for non-primitive dependencies

  • v1.0.2
  • 58.70
  • Published

flagged

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

  • v3.0.0
  • 58.55
  • Published

redux-query-react

The React interface for integrating with redux-query

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

react-router-breadcrumbs-hoc

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

  • v4.1.0
  • 58.17
  • 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.73
  • 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.60
  • Published

@lilib/hooks

React hook library.

  • v1.1.0
  • 57.58
  • Published

jooks

An idiot-proof way of testing your custom react hooks

  • v2.0.2
  • 57.53
  • Published

react-query-kit

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

  • v3.3.2
  • 57.45
  • Published

@tonic-ui/react-hooks

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

  • v2.2.0
  • 57.37
  • 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
  • 57.04
  • Published

@rpldy/uploady

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

  • v1.11.0
  • 56.89
  • Published

wouter

Minimalist-friendly ~1.5KB router for React

  • v3.7.1
  • 56.66
  • Published

@harelpls/use-pusher

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

  • v7.2.1
  • 56.60
  • Published

rc-pagination

pagination ui component for react

  • v5.1.0
  • 56.59
  • Published

react-use-is-online

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

  • v1.2.2
  • 56.51
  • Published

use-persisted-state

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

  • v0.3.3
  • 56.42
  • Published

web-api-hooks

Essential set of React Hooks for convenient Web API consumption.

  • v3.0.2
  • 56.20
  • Published

@react-hookz/web

React hooks done right, for browser and SSR.

  • v25.1.1
  • 56.04
  • Published

@lexical/react

This package provides Lexical components and hooks for React applications.

  • v0.34.0
  • 55.99
  • 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

  • v19.0.0
  • 55.95
  • Published

@visx/drag

visx drag

  • v3.12.0
  • 55.70
  • Published

@apollo/client

A fully-featured caching GraphQL client.

  • v4.0.2
  • 55.53
  • Published

react-stepzilla

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

  • v7.0.0
  • 55.49
  • Published

@mantine/spotlight

Command center components for react and Mantine

  • v8.2.7
  • 55.46
  • Published

granular-hooks

The React hooks you know, with added granularity

  • v1.1.0
  • 55.43
  • Published

@rest-hooks/react

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

  • v8.2.2
  • 55.09
  • Published

rc-align

align ui component for react

  • v4.0.15
  • 54.88
  • Published

react-scroll

A scroll component for React.js

  • v1.9.3
  • 54.85
  • Published

react-easy-router

The simplest way to add routing to your React app

  • v2.2.0
  • 54.67
  • Published

@storybook/react-vite

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

  • v9.1.3
  • 54.60
  • Published

@rpldy/retry-hooks

useful hooks for the retry functionality from @rpldy/retry

  • v1.11.0
  • 54.59
  • Published

preact

Fast 3kb React-compatible Virtual DOM library.

  • v10.27.1
  • 54.39
  • Published

import-jsx

Require and transpile JSX on the fly

  • v5.0.0
  • 54.38
  • Published

lexical

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

  • v0.34.0
  • 54.20
  • Published

tunnel-rat

non gratum anus rodentum

  • v0.1.2
  • 53.91
  • Published

reactflow

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

  • v11.11.4
  • 53.88
  • 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.84
  • Published

@mantine/prism

Code highlight with Mantine theme

  • v6.0.22
  • 53.79
  • Published

react-adaptive-hooks

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

  • v0.0.8
  • 53.78
  • 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.60
  • Published

@cranberry-money/shared-hooks

Shared business logic hooks for Blueberry platform - reusable across React and React Native

    • v1.0.41
    • 53.54
    • Published

    framer-motion

    A simple and powerful JavaScript animation library

    • v12.23.12
    • 53.31
    • Published

    react-animate-height

    Lightweight React component for animating height using CSS transitions.

    • v3.2.3
    • 53.14
    • Published

    react-top-loading-bar

    A very simple, highly customisable react top loader component.

    • v3.0.2
    • 52.90
    • Published

    @storybook/react-webpack5

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

    • v9.1.3
    • 52.83
    • Published

    @seznam/compose-react-refs

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

    • v1.0.6
    • 52.75
    • Published

    react-konva-utils

    Useful components and hooks for react-konva

      • v1.1.3
      • 52.73
      • Published

      @tryvital/vital-link

      React hooks and components for integrating with the Vital Link.

        • v0.1.7
        • 52.58
        • Published

        react-wizard-primitive

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

        • v2.5.0
        • 52.57
        • Published

        @vitejs/plugin-rsc

        React Server Components (RSC) support for Vite.

        • v0.4.26
        • 52.49
        • Published

        react-countdown

        A customizable countdown component for React.

        • v2.3.6
        • 52.49
        • Published

        @mantine/ssr

        Mantine server side rendering utils

        • v6.0.22
        • 52.23
        • Published

        single-spa-react

        Single-spa lifecycles helper for React apps

        • v6.0.2
        • 52.11
        • 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
        • 52.06
        • Published

        pullstate

        Simple state stores using immer and React hooks

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

        @use-it/interval

        A custom React Hook that provides a declarative useInterval.

        • v1.0.0
        • 51.57
        • Published

        @mantine/next

        Mantine integration for Next.js

        • v6.0.22
        • 51.42
        • Published

        react-linkify

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

        • v1.0.0-alpha
        • 51.09
        • Published

        the-platform

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

        • v0.10.1
        • 50.99
        • Published

        @equinor/eds-utils

        Utility functions and hooks for the Equinor Design System

        • v0.8.8
        • 50.94
        • 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.81
        • Published

        react-markdown

        React component to render markdown

        • v10.1.0
        • 50.43
        • Published

        connectkit

        Connecting a wallet, made simple.

        • v1.9.1
        • 50.41
        • Published

        keen-slider

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

        • v6.8.6
        • 50.18
        • Published

        react-grid-layout

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

        • v1.5.2
        • 50.18
        • Published

        @sanity/slate-react

        Tools for building completely customizable richtext editors with React.

        • v2.24.3
        • 50.09
        • Published

        use-ssr

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

        • v1.0.25
        • 50.04
        • Published

        rc-tree-select

        tree-select ui component for react

        • v5.27.0
        • 49.99
        • 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.93
        • Published

        hast-util-to-jsx-runtime

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

        • v2.3.6
        • 49.90
        • Published

        @nlux/react

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

        • v2.17.1
        • 49.78
        • Published

        react-sortable-hoc

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

        • v2.0.0
        • 49.74
        • Published

        piral-hooks-utils

        Hooks and HOC for pilets and Piral instances.

        • v1.8.5
        • 49.58
        • Published

        react-content-loader

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

        • v7.1.1
        • 49.55
        • Published

        rc-dialog

        dialog ui component for react

        • v10.0.0
        • 49.48
        • Published

        rc-tabs

        tabs ui component for react

        • v15.7.0
        • 49.41
        • 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.26
        • Published

        react-async

        React component for declarative promise resolution and data fetching

        • v10.0.1
        • 49.10
        • Published

        estree-util-build-jsx

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

        • v3.0.1
        • 49.06
        • Published

        react-lazy-load

        Simple lazy loading component built with react

        • v4.0.1
        • 49.01
        • Published

        react-media-recorder

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

        • v1.7.2
        • 48.97
        • 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.92
        • Published

        @chakra-ui/popper

        A React component and hooks wrapper for popper.js

        • v3.1.0
        • 48.79
        • 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.72
        • Published

        use-dark-mode

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

        • v2.3.1
        • 48.68
        • 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.64
        • Published

        use-ref-from

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

        • v0.1.0
        • 48.41
        • Published

        simple-react-validator

        A simple react form validator inspired by Laravel validation.

        • v1.6.2
        • 48.41
        • Published

        react-json-view

        Interactive react component for displaying javascript arrays and JSON objects.

        • v1.21.3
        • 48.26
        • Published

        eslint-config-get-off-my-lawn

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

        • v7.2.0
        • 48.20
        • Published

        use-state-if-mounted

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

        • v1.0.7
        • 48.18
        • Published

        re-reselect

        Enhance Reselect selectors with deeper memoization and cache management

        • v5.1.0
        • 48.15
        • Published

        motion

        An animation library for JavaScript and React.

        • v12.23.12
        • 47.88
        • Published

        generouted

        Generated client-side file-based routes for Vite

        • v1.20.0
        • 47.82
        • Published

        react-query-swagger

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

        • v15.12.8
        • 47.80
        • Published