# prism-react-renderer — card for AI agents

React component for syntax-highlighted code with Prism.js.

Category: Markdown, editors and content · npm package `prism-react-renderer` · latest version 2.4.1 (checked 2026-11-01)
Install: `npm install prism-react-renderer`
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: 57.0 (#1256 of all tools, 60 of 149 in its category)
- Used in 29 public projects set up for AI coding agents (0.5%)
- Downloads last week: 7,925,686 (as of 2026-11-24), +46.8% over 4 weeks
- GitHub stars: 2,000 (as of 2026-11-24)
- Last push: 2025-01-02

## Often used with
clsx 82.8%, React 100.0%, Next.js 58.6%, tsx 51.7%, Testing Library 41.4%, jsdom 41.4%

## Checked alternatives (same job)
- Shiki: https://agentgid.com/tools/shiki/agent.md
- highlight.js: https://agentgid.com/tools/highlight-js/agent.md
- React Syntax Highlighter: https://agentgid.com/tools/react-syntax-highlighter/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/prism-react-renderer/
- Homepage: https://github.com/FormidableLabs/prism-react-renderer#readme
- Repository: https://github.com/FormidableLabs/prism-react-renderer

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