Newv0.3.8 - useQuery improvements & bug fixes->
useActiveElement
useAsync
useAsyncEffect
useAudio
useAutoScroll
useBatchedCallback
useBattery
useBluetooth
useBoolean
useBreakpoints
useBroadcastChannel
useBrowserLanguage
useBrowserLocation
useClickOutside
useClipboard
useConst
useControllableState
useCookie
useCookies
useCopy
useCounter
useCssVar
useDebounceCallback
useDebounceEffect
useDebounceState
useDebounceValue
useDefault
useDeviceMotion
useDeviceOrientation
useDevicePixelRatio
useDidUpdate
useDisclosure
useDisplayMedia
useDocumentEvent
useDocumentTitle
useDocumentVisibility
useDoubleClick
useDropZone
useEvent
useEventListener
useEventSource
useEyeDropper
useFavicon
useField
useFileDialog
useFileSystemAccess
useFocus
useFocusTrap
useFps
useFul
useFullscreen
useGamepad
useGeolocation
useHash
useHotkeys
useHover
useIdle
useImage
useInfiniteScroll
useIntersectionObserver
useInterval
useIsFirstRender
useIsomorphicLayoutEffect
useKeyboard
useKeyPress
useKeyPressEvent
useKeysPressed
useLastChanged
useLatest
useLess
useList
useLocalStorage
useLockCallback
useLockScroll
useLogger
useLongPress
useMap
useMeasure
useMediaControls
useMediaQuery
useMemory
useMergedRef
useMount
useMouse
useMutation
useMutationObserver
useNetwork
useObject
useObjectUrl
useOffsetPagination
useOnce
useOnline
useOperatingSystem
useOptimistic
useOrientation
useOtpCredential
usePageLeave
usePaint
useParallax
usePerformanceObserver
usePermission
usePictureInPicture
usePointerLock
usePostMessage
usePreferredColorScheme
usePreferredContrast
usePreferredDark
usePreferredLanguages
usePreferredReducedMotion
usePrevious
useProgress
useQuery
useQueue
useRaf
useRafState
useRefState
useRenderCount
useRenderInfo
useRerender
useResizeObserver
useRightClick
useScript
useScroll
useScrollIntoView
useScrollTo
useSessionStorage
useSet
useShallowEffect
useShare
useSize
useSpeechRecognition
useSpeechSynthesis
useStateHistory
useStep
useSticky
useStopwatch
useStorage
useSwipe
useTextareaAutosize
useTextDirection
useTextSelection
useThrottleCallback
useThrottleEffect
useThrottleState
useThrottleValue
useTime
useTimeout
useTimer
useToggle
useUnmount
useUrlSearchParam
useUrlSearchParams
useVibrate
useVirtualKeyboard
useVisibility
useWakeLock
useWebSocket
useWindowEvent
useWindowFocus
useWindowScroll
useWindowSize
useWizard
useActiveElement
useAsync
useAsyncEffect
useAudio
useAutoScroll
useBatchedCallback
useBattery
useBluetooth
useBoolean
useBreakpoints
useBroadcastChannel
useBrowserLanguage
useBrowserLocation
useClickOutside
useClipboard
useConst
useControllableState
useCookie
useCookies
useCopy
useCounter
useCssVar
useDebounceCallback
useDebounceEffect
useDebounceState
useDebounceValue
useDefault
useDeviceMotion
useDeviceOrientation
useDevicePixelRatio
useDidUpdate
useDisclosure
useDisplayMedia
useDocumentEvent
useDocumentTitle
useDocumentVisibility
useDoubleClick
useDropZone
useEvent
useEventListener
useEventSource
useEyeDropper
useFavicon
useField
useFileDialog
useFileSystemAccess
useFocus
useFocusTrap
useFps
useFul
useFullscreen
useGamepad
useGeolocation
useHash
useHotkeys
useHover
useIdle
useImage
useInfiniteScroll
useIntersectionObserver
useInterval
useIsFirstRender
useIsomorphicLayoutEffect
useKeyboard
useKeyPress
useKeyPressEvent
useKeysPressed
useLastChanged
useLatest
useLess
useList
useLocalStorage
useLockCallback
useLockScroll
useLogger
useLongPress
useMap
useMeasure
useMediaControls
useMediaQuery
useMemory
useMergedRef
useMount
useMouse
useMutation
useMutationObserver
useNetwork
useObject
useObjectUrl
useOffsetPagination
useOnce
useOnline
useOperatingSystem
useOptimistic
useOrientation
useOtpCredential
usePageLeave
usePaint
useParallax
usePerformanceObserver
usePermission
usePictureInPicture
usePointerLock
usePostMessage
usePreferredColorScheme
usePreferredContrast
usePreferredDark
usePreferredLanguages
usePreferredReducedMotion
usePrevious
useProgress
useQuery
useQueue
useRaf
useRafState
useRefState
useRenderCount
useRenderInfo
useRerender
useResizeObserver
useRightClick
useScript
useScroll
useScrollIntoView
useScrollTo
useSessionStorage
useSet
useShallowEffect
useShare
useSize
useSpeechRecognition
useSpeechSynthesis
useStateHistory
useStep
useSticky
useStopwatch
useStorage
useSwipe
useTextareaAutosize
useTextDirection
useTextSelection
useThrottleCallback
useThrottleEffect
useThrottleState
useThrottleValue
useTime
useTimeout
useTimer
useToggle
useUnmount
useUrlSearchParam
useUrlSearchParams
useVibrate
useVirtualKeyboard
useVisibility
useWakeLock
useWebSocket
useWindowEvent
useWindowFocus
useWindowScroll
useWindowSize
useWizard

reactuse

The largestReact hookslibrary

158+ production-ready hooks. Lightweight, tree-shakeable, and TypeScript-first.

Works with any React framework

Next.js
Remix
Vite
TanStack
Astro
Gatsby
158+Hooks
60+Contributors
3K+GitHub Stars
50K+Weekly Downloads
100%TypeScript
0Dependencies
158+Hooks
60+Contributors
3K+GitHub Stars
50K+Weekly Downloads
100%TypeScript
0Dependencies
158+Hooks
60+Contributors
3K+GitHub Stars
50K+Weekly Downloads
100%TypeScript
0Dependencies
158+Hooks
60+Contributors
3K+GitHub Stars
50K+Weekly Downloads
100%TypeScript
0Dependencies

Why reactuse?

01

Lightweight

Minimal footprint with zero dependencies. Each hook is optimized for maximum performance.

02

Consistent API

Unified patterns across all hooks for predictable, maintainable code.

03

Customizable

Install via CLI or copy directly. Configure hooks to fit your exact needs.

04

158+ Hooks

From state management to browser APIs, sensors, elements, and utilities.

05

Tree Shakeable

Import only what you need. Unused hooks are excluded from your bundle.

06

Community Driven

60+ contributors, actively maintained with regular updates and new hooks.

Explore Hooks

158+ production-ready hooks for every use case

FAQ

reactuse is a comprehensive collection of production-ready React hooks. It covers state management, browser APIs, sensors, DOM utilities, and more.
You can install the full package or use the CLI flow to add specific hooks. The docs also let you copy the source directly into your project.
Yes. The library works with Next.js, Remix, Vite, Gatsby, Astro, and other React-based environments.
Yes. When you import specific hooks, only those pieces are pulled into the final bundle.
Yes. reactuse is written in TypeScript and exposes type definitions for every hook and helper.
You can open issues, send pull requests, and contribute new hooks, fixes, demos, and docs improvements on GitHub.

Sponsors

reactuse is open source and free to use. Your sponsorship helps maintain the library, add new hooks, and support the community.

No sponsors yet. Be the first to support reactuse!

Contributors

Built with love by 60+ amazing developers

Maintained by SIBERIA CAN CODE
“Ediand11”a.seylkhanovAdletALDIKAlexander LeeAlexey NAndrey FedoseevArtem DereviagoAwsbabinBandarenka Yurabelk1ngceylar37dacormDaniil BatiukdebabinDmitry BabinDmitry BelkinDmytroEgorenkoDNEksiartErikEvgen41kkFlaainforckesGlebGorilla DevgwizxshywaxiiivanpopovKhasankhmilevoileendrewMichael MironychevnailgilmanovNikitaNikita DubykNikita StroykovnimyabNursultan ZianurovNurviveozcniiPavel SeredaPoli SourpPitohuRastraponovichsad1kseredaSergey PjankovShipy4kastr0ykatriangletungulinVitalij RyndinVitaly StatsuraVladislav PorvinVLADISLAW9VladPorvinwaldymarxthfWinter010wmoooidy0na24yrsluvzeroqs