uidotdev/usehooks
Some data may be outdated — see provenance labels.
A collection of modern, server-safe React hooks – from the ui.dev team observed · 2026-10-02
Health v2 · maintenance only
30/100
- Activity 15
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2842
- days_rel: n/a
- days_push: 514
- n_releases_24m: 0
Adoption not part of the score
11501 stars · 585 forks observed · 2026-10-02
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of modern, server-safe React hooks published as the npm package @uidotdev/usehooks, maintained by the ui.dev team. It includes hooks for common UI needs like debounce, localStorage, window size, media queries, and geolocation, plus an experimental tier.
Use cases
- add debounce or throttle to React components
- sync React state with localStorage
- track window size or scroll position in React
- detect hover, click-away, or idle state in React apps
- copy to clipboard from a React component
- use geolocation or battery status in React
- learn how React hooks are implemented
When to choose
- you want a well-maintained, MIT-licensed set of ready-made React hooks
- you need hooks that are safe with server-side rendering (React 18+)
- you want small, focused utilities instead of a heavy component library
When to avoid
- you are not using React
- you need a full UI component library with styling
- you need hooks for a specific library like React Query or Redux
Facets
library · maturity active
ui-components state-management developer-tools frontend web-development developer-tools browser react-hooks react npm-package server-safe hooks-collection nodejs web-server
2 sources
- readme: https://github.com/uidotdev/usehooks · fetched 2026-10-02 · e318804dff96
- homepage: https://usehooks.com · fetched 2026-08-29 · cf9396ac30c6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| uidotdev/usehooks | main | 30 |
For agents
markdown · JSON · MCP: product_card(name="uidotdev/usehooks")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem