# react-cookie — card for AI agents

Reads and writes cookies in React, on the client and server.

Category: Auth and security libraries · npm package `react-cookie` · latest version 8.1.2 (checked 2026-11-01)
Install: `npm install react-cookie`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 40.7 (#3050 of all tools, 112 of 141 in its category)
- Used in 5 public projects set up for AI coding agents (0.1%)
- Downloads last week: 1,532,928 (as of 2026-11-24), +34.7% over 4 weeks
- GitHub stars: 214 (as of 2026-11-24)
- Last push: 2026-05-09

## Often used with
React 100.0%, Axios 65.0%, Next.js 65.0%, ESLint 80.0%, React Hook Form 40.0%, React Router 40.0%

## Links
- AgentGid page: https://agentgid.com/tools/react-cookie/
- Homepage: https://github.com/ItsBenCodes/cookies/tree/main/packages/react-cookie/#readme
- Repository: https://github.com/ItsBenCodes/cookies

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
