# styleguidist/react-docgen-typescript

A simple parser for react properties defined in typescript instead of propTypes.

Repository: https://github.com/styleguidist/react-docgen-typescript
Canonical: https://ross.abutalabs.com/products/react-docgen-typescript
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-14T11:01:03+00:00

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

## Adoption (not part of the score)
Stars 1263, forks 257 (observed 2026-08-28T04:04:10.504089+00:00)

## What it is
A TypeScript library that parses React component prop types defined in TypeScript interfaces instead of propTypes, extracting docgen metadata. It integrates with React Styleguidist via a propsParser hook and supports custom tsconfig and prop filtering options.

## Use cases
- extract prop types from react typescript components
- generate component documentation from typescript props
- integrate typescript prop parsing with react styleguidist
- parse react component props without propTypes
- filter inherited html attributes from component docs
- build a react component style guide from typescript source

## When to choose
- your React components are typed with TypeScript and you need docgen metadata for documentation or style guides
- you use React Styleguidist and want automatic prop tables from TypeScript types

## When to avoid
- your components use plain propTypes instead of TypeScript types
- you need full API documentation generation rather than prop metadata extraction

## Facets
- artifact type: library
- maturity: active
- function: parser, documentation, developer-tools
- domain: frontend, web-development, documentation, developer-tools
- platform: cli
- tags: react, typescript, docgen, props-parsing, styleguidist, component-documentation, nodejs

## Member repositories
- styleguidist/react-docgen-typescript (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:10.504089+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-30T05:04:11.541001+00:00, confidence not recorded.
  - readme: https://github.com/styleguidist/react-docgen-typescript (fetched 2026-08-28T04:04:10.504089+00:00, sha 12985da9d71c)
  - registry_npm: https://registry.npmjs.org/react-docgen-typescript (fetched 2026-08-29T12:16:18.766824+00:00, sha 7f7135054041)
- Data as of 2026-08-30T08:39:29.467469+00:00.
