Skip to content

useReact

Collection of React Hooks

Typed, tree-shakable utilities with copy-paste examples, SSR callouts, and tests behind every export.

React
188hooks
Tree-shakableimports

Demo component examples

These are real in-page previews: each card links to the hook’s full reference. More categories will land here next.

State

Toggles, counters, debounce, storage, ref history, and related helpers - click a card to open its live preview. Browse State in the function list →

Elements

DOM-focused helpers: textarea autosize, outside click handling, drag/drop, element measurement, focus and scroll state. Browse Elements in the function list →

Browser

Browser APIs and environment hooks: location/hash, media, permissions, clipboard, notifications, orientation, scripts, and more. Browse Browser in the function list →

Ready when you are

Add the package, skim the guide, and pull in only the hooks you need - same APIs you saw in the live demos above.

Community

Star on GitHub

Issues, roadmap, and source for every hook - stars help others find the project.

Star dedalik/use-react

Released under the MIT License.