Skip to content

hookagain

A collection of reusable React hooks that you add to your project with the shadcn CLI.

hookagain.vercel.app

hookagain website screenshot
Added
GitHub stars
104
License
MIT
Price
Free

About

About hookagain

hookagain is a collection of reusable React hooks distributed the way shadcn/ui distributes components. The docs list useCopyToClipboard, useDebouncedCallback, useDebouncedValue, useIntersectionObserver, useInterval, useLocalStorage, useMediaQuery, usePhoenixChannel and usePhoenixSocket, with a search box in the docs site.

Once the shadcn CLI is set up, add a hook with npx shadcn@latest add https://hookagain.vercel.app/r/<hook-name>.json, and the file lands in your project for you to edit. The repository is MIT licensed and last pushed in May 2025. It suits developers who want small, owned utilities rather than a hooks package in their dependency tree.

hookagain features

6 features

  • useDebouncedValue and useDebouncedCallback
  • useLocalStorage and useMediaQuery
  • useIntersectionObserver and useInterval
  • Phoenix channel and socket hooks
  • One URL per hook from the registry
  • Searchable docs site

Install hookagain

1 command

Terminal

$ npx shadcn@latest add https://hookagain.vercel.app/r/<hook-name>.json

What you can build with hookagain

3 use cases

  • Debouncing a search input without a new dependency
  • Persisting a user preference in local storage
  • Connecting a React app to a Phoenix channel

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 hookagain 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