Topics / #hooks

Hooks projects on GitHub

React hooks patterns for state and effects

As of , the most-starred Hooks projects on GitHub are zustand (58.9K stars), query (50.7K stars) and claude-howto (47.6K stars). GitHub.Locker tracks 57 Hooks repositories with 1.1M stars combined. The fastest-growing on November 30 was plannotator, with +198 stars in a day.

57Projects
1.1MStars in total
+852Stars in a day

Hot right now

Most stars gained in a day · Nov 30

The all-time top

57 projects · by stars

  1. #1 · pmndrs/zustand

    zustand

    Zustand is a small, fast state-management library for React built on simplified flux principles, with a hook-based API that is not boilerplate-heavy or opinionated.

    58.9K
  2. #2 · TanStack/query

    query

    TanStack Query is an async state management library that simplifies fetching, caching, synchronizing, and updating server state in web apps.

    50.7K
  3. #3 · luongnv89/claude-howto

    claude-howto

    A free, open-source guide to Claude Code: 10 visual tutorial modules with Mermaid diagrams and copy-paste templates that take you from your first slash command to advanced agent setups in 11-13 hours.

    47.6K
  1. 4

    react-hook-form

    44.9Kreact-hook-form/react-hook-form · TypeScript

    React Hook Form is a library of React Hooks for building and validating forms, usable in both web apps and React Native apps.

  2. 5

    react-use

    44Kstreamich/react-use · TypeScript

    react-use is a large collection of reusable React Hooks covering sensors, UI interactions, animations, side-effects, lifecycles, and state management.

  3. 6

    Claude-Code-Game-Studios

    41.2KDonchitos/Claude-Code-Game-Studios · Shell

    A template that turns a Claude Code session into a structured game studio: 49 specialized AI agents led by directors, 73 slash-command skills, 12 validation hooks, and 41 document templates.

  4. 7

    styled-components

    41Kstyled-components/styled-components · TypeScript

    A CSS-in-JS library for React: styles are written in JavaScript and turned into styled components, with one API across server components, client components, streaming SSR and React Native.

  5. 8

    ink

    40.3Kvadimdemedes/ink · TypeScript

    Ink is React for the terminal: a library for building interactive command-line apps out of components, with the same component-based UI experience React offers in the browser.

  6. 9

    preact

    39Kpreactjs/preact · JavaScript

    Preact is a fast, 3kB alternative to React that implements the same modern API, including Components and Virtual DOM.

  7. 10

    husky

    35.4Ktypicode/husky · JavaScript

    Husky is a tool that makes it easy to set up and manage Git hooks, so scripts run automatically on Git events like commits or pushes.

  8. 11

    context-mode

    34.6Kmksglu/context-mode · JavaScript

    Context Mode is an MCP server plus hooks that keeps bulky tool output out of your AI coding agent's context window (98% reduction), persists session memory, and enforces tool routing across 17 platforms.

  9. 12

    oh-my-codex

    33.9KYeachan-Heo/oh-my-codex · TypeScript

    OMX (oh-my-codex) is a workflow layer on top of OpenAI's Codex CLI that adds hooks, agent teams, HUDs, prompts, and canonical workflow commands like $plan, $ultragoal, $team, $code-review, and $ultraqa, while keeping Codex itself as the execution engine.

  10. 13

    swr

    32.5Kvercel/swr · TypeScript

    SWR is a React Hooks library for data fetching. The name comes from stale-while-revalidate (HTTP RFC 5861): cached data is shown first, then the request revalidates and fresh data updates the UI.

  11. 14

    mantine

    32Kmantinedev/mantine · TypeScript

    Mantine is a fully featured React components library: @mantine/core alone ships 100+ components, and companion packages cover forms, charts, notifications, editors and more.

  12. 15

    agentmemory

    30.7Krohitg00/agentmemory · TypeScript

    Persistent memory for AI coding agents: it captures what your agent does, compresses it into searchable memory, and injects the right context when the next session starts, so you stop re-explaining your project to Claude Code, Cursor or Codex.

  13. 16

    react-spring

    29.3Kpmndrs/react-spring · TypeScript

    react-spring is a spring-physics-based animation library for React, letting you animate values fluidly instead of using fixed-duration easing curves.

  14. 17

    crush

    29.2Kcharmbracelet/crush · Go

    A terminal-based AI coding agent from Charm: it wires your tools, code, and workflows into the LLM of your choice and works as a coding partner right in your terminal.

  15. 18

    table

    28.6KTanStack/table · TypeScript

    TanStack Table is a headless table library for building powerful datagrids in TypeScript and JavaScript. You may know it by its adapter names — React Table, Vue Table, Solid Table, Svelte Table.

  16. 19

    planning-with-files

    28.3KOthmanAdi/planning-with-files · Shell

    A skill for AI coding agents that keeps the plan on disk in three markdown files — taskplan.md, findings.md and progress.md — and re-injects it every turn, so it survives /clear, crashes and context compaction.

  17. 20

    ai

    28.1Kvercel/ai · TypeScript

    It's the AI SDK — a free, open-source TypeScript toolkit from Vercel (the Next.js team) for building AI-powered applications and agents with Next.js, React, Svelte, Vue, Angular and Node.js.

  18. 21

    grok-build

    28Kxai-org/grok-build · Rust

    Grok Build is SpaceXAI's terminal-based AI coding agent. It runs as a full-screen TUI that understands your codebase, edits files, executes shell commands, searches the web, and manages long-running tasks, either interactively, headlessly for scripting/CI, or embedded in editors via the Agent Client Protocol (ACP).

  19. 22

    LSPosed

    25.6KLSPosed/LSPosed · Java

    LSPosed is an Android hooking framework shipped as a Riru/Zygisk Magisk module. It gives modules the original Xposed APIs to change the behavior of the system and apps without touching any APKs.

  20. 23

    jotai

    21.3Kpmndrs/jotai · TypeScript

    Jotai is a primitive and flexible state management library for React. It scales from a simple useState replacement all the way to an enterprise TypeScript application.

  21. 24

    cz-cli

    17.5Kcommitizen/cz-cli · JavaScript

    A free, open-source Node.js CLI that prompts you for commit message fields at commit time, so every message follows your project's convention — no digging through CONTRIBUTING.md, no hook rejections.

  22. 25

    OpenHarness

    16.2KHKUDS/OpenHarness · Python

    OpenHarness is an open-source Python agent harness: the infrastructure that turns an LLM into a working agent with tool use, skills, memory and multi-agent coordination. It also ships ohmo, a personal agent that works for you in chat apps.

  23. 26

    react-spectrum

    16.1Kadobe/react-spectrum · TypeScript

    Adobe's open-source collection of libraries and tools for building adaptive, accessible, and robust user experiences with React.

  24. 27

    plannotator

    15.9Kbacknotprop/plannotator · TypeScript

    Plannotator is a local, browser-based review surface for AI coding agents: when your agent proposes a plan, HTML, or finishes writing code, the work opens in your browser so you can annotate it and send feedback straight back to the agent.

  25. 28

    hooks

    15Kalibaba/hooks · TypeScript

    This is ahooks, a high-quality and reliable React Hooks library from Alibaba, bundling a large set of ready-made hooks for everyday React development.

  26. 29

    react-redux-typescript-guide

    13.3Kpiotrwitek/react-redux-typescript-guide · TypeScript

    A living guide collecting the most important patterns and recipes for using React and Redux in a fully type-safe way with TypeScript, favoring type inference over manual type annotations.

  27. 30

    snabbdom

    12.4Ksnabbdom/snabbdom · TypeScript

    Snabbdom is a virtual DOM library focused on simplicity, modularity, powerful features and performance. You describe your UI as vnodes and it efficiently patches the real DOM to match.

  28. 31

    downshift

    12.3Kdownshift-js/downshift · JavaScript

    A set of primitives for building your own autocomplete, combobox, select dropdown or multi-select tag-group components in React, with WAI-ARIA accessibility built in.

  29. 32

    webhook

    12.2Kadnanh/webhook · Go

    Webhook is a lightweight Go server that exposes HTTP endpoints (hooks) and runs a configured shell command whenever that endpoint receives a request, optionally passing along headers, payload, or query data.

  30. 33

    nitro

    11.4Knitrojs/nitro · TypeScript

    Nitro is a server toolkit that extends your Vite app with a production-ready server you can add routes to and deploy anywhere.

  31. 34

    beef

    11.1Kbeefproject/beef · JavaScript

    BeEF (Browser Exploitation Framework) is a penetration testing tool that focuses on the web browser, letting a tester assess the real security posture of a target by using client-side attack vectors instead of network-perimeter exploits.

  32. 35

    react-dropzone

    11Kreact-dropzone/react-dropzone · TypeScript

    react-dropzone is a React hook that turns any element into an HTML5-compliant drag-and-drop zone for files, handling the browser drag events and file selection for you.

  33. 36

    nuqs

    10.9K47ng/nuqs · TypeScript

    nuqs is a type-safe state manager for React that keeps state in the URL query string — like useState, but the value lives in the URL and survives sharing or reloading the page.

  34. 37

    pixel-agents

    10.3Kpixel-agents-hq/pixel-agents · TypeScript

    Pixel Agents turns the AI coding agents running in your terminals into animated pixel-art characters working in a tiny office — they walk to desks, type when editing files, read when searching, and flag you visually when stuck waiting for input.

  35. 38

    valtio

    10.2Kpmndrs/valtio · TypeScript

    Valtio is a small state-management library: you wrap any JS object and it becomes a self-aware proxy, so React components re-render automatically when the data they read changes. It also works without React.

  36. 39

    react-i18next

    10.1Ki18next/react-i18next · JavaScript

    react-i18next is a library that adds internationalization to React apps: you translate your UI through the i18next ecosystem instead of hardcoding strings.

  37. 40

    claude-code-infrastructure-showcase

    10.1Kdiet103/claude-code-infrastructure-showcase · TypeScript

    A curated reference library of production-tested Claude Code infrastructure — hooks, skills and agents extracted from 6 months of daily use on a real TypeScript microservices project. It fixes the problem that skills do not activate automatically and shows patterns that scale Claude Code for enterprise development.

  38. 41

    failproofai

    9.8KFailproofAI/failproofai · TypeScript

    Failproof AI is an observability and enforcement layer that sits inside AI agent harnesses (coding CLIs, chat gateways, self-hosted assistants), capturing every run and blocking dangerous tool calls before they execute.

  39. 42

    harness-sdk

    9.3Kstrands-agents/harness-sdk · TypeScript

    Strands Agents - an open-source SDK for building and running AI agents in Python and TypeScript, with a model-driven approach where a working agent takes just a few lines of code.

  40. 43

    superpowers-zh

    8.6KjnMetaCode/superpowers-zh · JavaScript

    The Chinese community edition of superpowers — a skills framework for AI coding tools. It installs 20 battle-tested workflow skills (brainstorming, planning, TDD, debugging, code review) into 26 AI coding agents so they follow proven work methods.

  41. 44

    capsule-memory

    8.4Kunicity-aos/capsule-memory · Rust

    It is a 'capsule' (plugin) for Astrid OS / Unicity AOS agents that gives them cross-session memory: it reads a local memory file from the workspace and injects its content into the system prompt so the agent remembers what happened in previous sessions.

  42. 45

    kimi-code

    8.2KMoonshotAI/kimi-code · TypeScript

    Kimi Code CLI is an AI coding agent that runs in your terminal — it reads and edits code, runs shell commands, searches files, fetches web pages, and decides the next step based on the feedback it gets. It works with Moonshot AI's Kimi models out of the box and can be configured to use other compatible providers.

  43. 46

    agent-scripts

    7.6Ksteipete/agent-scripts · Shell

    A personal toolbox for AI coding agents: shared agent instructions, reusable workflow skills and small portable scripts kept in one canonical repo and synced into the author's Codex and Claude Code setups.

  44. 47

    n8n-skills

    6.7Kczlonkowski/n8n-skills · Shell

    A set of 14 Claude Code skills (plus a router skill and hooks enforcement layer) that teach AI assistants how to build production-ready n8n workflows using the n8n-mcp MCP server, and how to self-host n8n to run them.

  45. 48

    claude-code-showcase

    6.1KChrisWiles/claude-code-showcase · JavaScript

    A reference repository showing a full Claude Code project configuration: hooks, skills, agents, slash commands, MCP servers, LSP integration, and GitHub Actions workflows that you can copy into your own project.

  46. 49

    peon-ping

    5.1KPeonPing/peon-ping · Shell

    peon-ping plays Warcraft III Peon voice lines and shows bold on-screen banners whenever your AI coding agent (Claude Code, Codex, Cursor, and others) finishes a task or needs your input, so you stop babysitting the terminal and losing focus.

  47. 50

    PilotDeck

    5KOpenBMB/PilotDeck · TypeScript

    An open-source agent operating system for task-oriented, multi-project productivity work, where AI agents run real projects in isolated WorkSpaces. Jointly developed by Tsinghua THUNLP, ModelBest, OpenBMB and AI9Stars.

  48. 51

    Continuous-Claude-v3

    4Kparcadei/Continuous-Claude-v3 · Python

    Continuous Claude is a plugin/environment layered on top of Claude Code that adds persistent memory, context-efficient handoffs, and multi-agent orchestration so Claude keeps learning across sessions instead of losing context on compaction.

  49. 52

    skillshare

    3.2Krunkids/skillshare · Go

    skillshare is a tool that syncs your AI skills, agents, MCP connections, plugins and hooks to all your AI coding tools (Claude Code, Codex, Pi, OpenCode and others) with one command, and makes it easy to share that setup with a team.

  50. 53

    Baize

    674Xu123-Bob/Baize · JavaScript

    Baize is an open-source AI coding agent CLI that acts as a drop-in alternative to Claude Code CLI, letting you describe tasks in natural language while it writes, edits, and runs code for you.

  51. 54

    harness-engineering-101

    658IsuruMaduranga/harness-engineering-101 · Python

    This is a book (originally a blog series) that teaches how AI agents actually work by building a 'harness' from scratch in Python: the LLM is treated as a stateless brain, and the harness is the surrounding code that manages the conversation array, tools, and state.

  52. 55

    Athena-Public

    656winstonkoh87/Athena-Public · Python

    Athena is a local-first memory layer for AI coding agents: it stores your working context as plain Markdown files on your own disk so any model or IDE can pick up where the last one left off.

  53. 56

    browser-use-pi

    482browser-use/browser-use-pi · JavaScript

    Browser Use Pi is a tiny TypeScript SDK that lets an AI agent write live JavaScript to drive a real Chrome browser over the raw DevTools Protocol, instead of calling a fixed set of browser actions.

  54. 57

    squeez

    237claudioemmanuel/squeez · Rust

    Squeez is a hook-based token compressor for seven AI coding CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI, Pi, Hermes) that intercepts tool output and shrinks bash results by up to 95% without losing exact identifiers.

Often tagged together