reactuse

115+ production-ready React Hooks for sensors, UI, state & browser APIs. Tree-shakable, SSR-safe, TypeScript-first. Used by Shopee, PDD & Ctrip. Inspired by Vue

What is reactuse?

115+ production-ready React Hooks for sensors, UI, state & browser APIs. Tree-shakable, SSR-safe, TypeScript-first. Used by Shopee, PDD & Ctrip. Inspired by VueUse.

Overview of reactuse

What it is

ReactUse is a comprehensive collection of over 100 essential React Hooks for building modern React applications. It is inspired by VueUse and provides hooks for browser APIs, state management, sensors, animations, DOM elements, and more. The project is tree-shakable, SSR-compatible, and TypeScript-first. It is used by Shopee, PDD, and Ctrip (as stated in the metadata tagline). It also supports MCP (Model Context Protocol) for AI-powered hook discovery.

Key features

  • 100+ Hooks — The most comprehensive React hooks collection
  • Tree-Shakable — Import only what you need
  • TypeScript — Full type definitions for every hook
  • SSR Compatible — Works with Next.js, Remix, and more
  • Well Documented — Interactive demos for every hook
  • MCP Support — AI-powered hook discovery

Use cases

Building React applications that require hooks for browser APIs, state management, sensors, and DOM elements. Suitable for SSR frameworks like Next.js and Remix. Used in production by Shopee, PDD, and Ctrip.

Getting started

bashnpm i @reactuses/core``````tsximport { useToggle } from '@reactuses/core';const Demo = () => { const [on, toggle] = useToggle(true); return {on ? 'ON' : 'OFF'};};

License and pricing

The project is released under the Unlicense (public domain). It is open source and free to use. Sponsorship options are available but not required.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/childrentimereactuse.svg)](https://yunodb.com/tools/childrentimereactuse?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/childrentimereactuse?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/childrentimereactuse.svg" alt="Featured on YunoDB" height="20"></a>