# react-error-boundary — card for AI agents

Reusable React Error Boundary component for error handling.

Category: Web frameworks · npm package `react-error-boundary` · latest version 6.1.6 (checked 2026-11-01)
Install: `npm install react-error-boundary`
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: 70.1 (#382 of all tools, 15 of 76 in its category)
- Used in 37 public projects set up for AI coding agents (0.6%)
- Downloads last week: 21,219,432 (as of 2026-11-24), +38.4% over 4 weeks
- GitHub stars: 7,995 (as of 2026-11-24)
- Last push: 2026-11-14

## Often used with
TanStack Query 70.3%, React 94.6%, Tailwind Merge 70.3%, React Hook Form 62.2%, date-fns 59.5%, clsx 67.6%

## Links
- AgentGid page: https://agentgid.com/tools/react-error-boundary/
- Homepage: https://react-error-boundary-lib.vercel.app/
- Repository: https://github.com/bvaughn/react-error-boundary

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