Tiny Hooks is a collection of reusable, modern React hooks written in TypeScript.
Designed for clean, typed, and efficient React development.
β
Over 20 hooks for common tasks
β
Fully written in TypeScript
β
Server-Safe hooks
β
Easy to integrate in any React project
β
Supports Reactβ₯16.8
bun add tiny-hooks
# or
pnpm add tiny-hooks
# or
yarn add tiny-hooks
# or
npm install tiny-hooksuseBooleanuseCounteruseStepuseToggleuseUndoRedo
useLocalStorageuseSessionStorageuseCookieuseClipboard
useClickAnywhereuseClickOutsideuseEventListeneruseHoveruseScrollProgress
useIsClientuseIsMounteduseBrowserCapabilitiesuseOnlineStatususeConnectionTypeusePinguseRedirectuseIdleuseBatteryStatus
useDebounceuseThrottleusePrevioususeStopwatch
- Fork this repository
- Clone your fork locally:
git clone git@github.com:reussio/tiny-hooks.git - Make your improvements or fixes.
- Commit your changes and push the branch to your fork.
- Open a Pull Request against the
mainbranch of this repository.
Please follow our Code of Conduct.
- GitHub Repo: https://github.com/reussio/tiny-hooks
This project is licensed under the MIT License.
See the LICENSE file for more details.