# react-simple-code-editor/react-simple-code-editor

Simple no-frills code editor with syntax highlighting

Repository: https://github.com/react-simple-code-editor/react-simple-code-editor
Canonical: https://ross.abutalabs.com/products/react-simple-code-editor
Homepage: https://react-simple-code-editor.github.io/react-simple-code-editor/
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, editor, hacktoberfest
Last push: 2024-07-04T22:56:33+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2995, "days_push": 790, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1731, forks 176 (observed 2026-08-28T04:05:28.705102+00:00)

## What it is
A lightweight React component that provides a simple code editor with syntax highlighting, built on top of a textarea. It delegates highlighting to third-party libraries like Prism and is designed for small embeds and forms rather than full-featured editors.

## Use cases
- embed a small code editor in a React form
- let users submit code snippets with syntax highlighting
- add a lightweight code input without heavy editors like Monaco or CodeMirror
- build a controlled textarea that highlights code as users type
- customize indentation and tab behavior in a code input

## When to choose
- you need a tiny bundle size and only basic editing with highlighting
- you want full control over the highlighter (e.g., Prism) and styling
- you need a simple controlled React component for code input in forms

## When to avoid
- you need advanced features like autocomplete, linting, or multiple cursors
- you are not using React
- you need a full IDE-like editing experience

## Facets
- artifact type: library
- maturity: stable
- function: editor, ui-components
- domain: frontend, web-development, text-editors
- platform: browser
- tags: react, syntax-highlighting, code-editor, textarea, prismjs, web-server

## Member repositories
- react-simple-code-editor/react-simple-code-editor (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.705102+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:31:43.995820+00:00, confidence not recorded.
  - readme: https://github.com/react-simple-code-editor/react-simple-code-editor (fetched 2026-08-28T04:05:28.705102+00:00, sha 7a2d6bb16dab)
  - homepage: https://react-simple-code-editor.github.io/react-simple-code-editor/ (fetched 2026-08-29T11:08:53.023092+00:00, sha bdfc800b814e)
  - registry_npm: https://registry.npmjs.org/react-simple-code-editor (fetched 2026-08-29T11:08:53.026126+00:00, sha dc4f2e6f4886)
- Data as of 2026-08-30T08:39:29.467469+00:00.
