Skip to content

guarahooks

A free collection of reusable React hooks you copy into your app, in the shadcn style.

guarahooks.com

guarahooks website screenshot
Added
GitHub stars
106
License
MIT
Price
Free

About

About guarahooks

guarahooks is a library of reusable React hooks, written in TypeScript and inspired by shadcn/ui. The site counts 50 hooks and demos several, including useKeypress for key combinations, useIdle for inactivity timeouts, useWindowSize and useMouse for pointer position.

Hooks are copied into your own code rather than imported from a package, and a CLI documented at guarahooks.com/docs/cli installs them from the command line. The repository is public on GitHub under the MIT license, and adding a hook takes about five minutes according to the contributing notes. It suits developers who prefer owning small utilities over adding another dependency.

guarahooks features

5 features

  • About 50 React hooks
  • Written in TypeScript
  • Command-line installer
  • Live hook demos
  • Copy-paste, editable source

What you can build with guarahooks

3 use cases

  • Detecting idle users to trigger a session timeout
  • Binding keyboard shortcuts with useKeypress
  • Reacting to window size changes in a layout

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What guarahooks is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro