FormidableLabs/prism-react-renderer
🖌️ Renders highlighted Prism output to React (+ theming & vendored Prism) observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2938
- days_rel: 630
- days_push: 608
- n_releases_24m: 1
Adoption not part of the score
1992 stars · 148 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lean React component library that tokenizes code with a vendored Prism and renders syntax-highlighted output via render props, with built-in theming support. It works in React and React Native and powers syntax highlighting in Docusaurus.
Use cases
- render syntax-highlighted code blocks in React
- highlight code in a React Native app
- add custom themes to code blocks
- highlight code without polluting the global namespace
- use Prism highlighting in Docusaurus-style docs sites
- tokenize code and render tokens with custom markup
When to choose
- you need syntax highlighting in React or React Native with full control over rendered markup
- you want bundled themes and a vendored Prism without global side effects
- you're building documentation or blog sites with code blocks
When to avoid
- you need server-side highlighting without React
- you want highlighting for many obscure languages out of the box
- your project doesn't use React
Facets
library · maturity active
ui-components frontend-framework web-development frontend developer-tools documentation cross-platform syntax-highlighting prismjs code-blocks render-props theming react-native react nodejs web-server
2 sources
- readme: https://github.com/FormidableLabs/prism-react-renderer · fetched 2026-08-28 · c3d20361aab8
- registry_npm: https://registry.npmjs.org/prism-react-renderer · fetched 2026-08-29 · 3f1e241e5f9b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| FormidableLabs/prism-react-renderer | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="FormidableLabs/prism-react-renderer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem