guarahooks
A free collection of reusable React hooks you copy into your app, in the shadcn style.
- Category
- Libraries & Components
- 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
Links
1 link
Libraries & Components
Similar to guarahooks
More libraries & components like guarahooks: the closest by what they do, then the most starred.
assistant-uiLibraryassistant-ui is an open-source TypeScript library for AI chat in React. It handles streaming, tools and attachments, with AI SDK and LangGraph adapters.
w3-kitLibraryw3-kit offers 27 typed, accessible React components and 12 primitives for web3 dApps: wallets, DeFi, NFTs and data. MIT licensed.
Pittaya UILibraryPittaya UI is an MIT-licensed React library with 23+ components, live previews and a CLI that adds each one with a single npx command.
tablecnLibrarytablecn is an open-source data table and grid built on shadcn/ui, with sorting, filtering, pagination, infinite scroll and live collaboration.
shadcn-chatLibraryshadcn-chat adds customizable chat components to React apps through its own npx command. The author has stopped maintaining it and points to other kits.
PDFxLibraryPDFx is a shadcn/ui-style library of 24 PDF components on @react-pdf/renderer, with a CLI, theme builder, MCP server and invoice and report blocks.
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.
A free collection of reusable React hooks you copy into your app, in the shadcn style.
guarahooks lists About 50 React hooks, Written in TypeScript, Command-line installer, Live hook demos and Copy-paste, editable source.
The directory lists these uses for guarahooks: Detecting idle users to trigger a session timeout, Binding keyboard shortcuts with useKeypress and Reacting to window size changes in a layout.
guarahooks is made by h3rmel, at https://github.com/h3rmel. Its site is https://github.com/h3rmel/guarahooks.
guarahooks was added to the directory on July 4, 2026.
guarahooks is in Libraries & Components. Component libraries and standalone components built on shadcn/ui, covering the data tables, pickers, editors and charts the core set leaves out.
Components, CLI, React, TypeScript, Copy and paste, Open source, MIT and Free. Each tag has a page listing the other resources that carry it.
Yes. guarahooks's page has a Live tab beside the screenshot that loads its site in a frame.
Copy it from the docs, or use the CLI described at guarahooks.com/docs/cli.
The directory lists no install command for guarahooks. Follow its docs at https://guarahooks.com/docs/cli.
The directory lists no shadcn CLI command for guarahooks. Check its docs at https://guarahooks.com/docs/cli for how to add it.
guarahooks's repository is https://github.com/h3rmel/guarahooks.
guarahooks's docs are at https://guarahooks.com/docs/cli.
Yes. It is free, open source and MIT licensed.
GitHub lists guarahooks under the MIT license. Read the license file in its repository for the terms.
The directory records no price for guarahooks. Its site, https://github.com/h3rmel/guarahooks, is where its pricing, if any, is stated.
No. guarahooks is made by h3rmel and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Libraries & Components, newest first: assistant-ui, w3-kit, Pittaya UI and tablecn. Their pages are linked under Similar to guarahooks.
Open its category, Libraries & Components, or one of its tags (Components, CLI and React): each page lists the resources that share it.
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





