# gaearon/react-document-title

Declarative, nested, stateful, isomorphic document.title for React

Repository: https://github.com/gaearon/react-document-title
Canonical: https://ross.abutalabs.com/products/react-document-title
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2019-10-28T13:34:57+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": 4347, "days_push": 2501, "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 1850, forks 102 (observed 2026-08-28T04:05:44.310228+00:00)

## What it is
A React component library that provides a declarative, nested, and stateful way to set document.title in single-page apps, including server-side rendering support. It emits no DOM and supports arbitrary nesting for app-wide and page-specific titles.

## Use cases
- set page title declaratively in react
- nested document titles for react router pages
- update browser tab title from component state
- get document title during server-side rendering
- manage page titles in a single-page app

## When to choose
- you only need to manage document.title in a React app
- you want nested, state-driven titles with SSR support via rewind

## When to avoid
- you need to manage meta tags or other head elements - use React Helmet instead
- you need a library actively updated for modern React versions

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, ssr, frontend-framework
- domain: web-development, frontend
- platform: browser
- tags: react, document-title, react-component, isomorphic, seo, nodejs, web-server

## Member repositories
- gaearon/react-document-title (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:44.310228+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:17:07.702277+00:00, confidence not recorded.
  - readme: https://github.com/gaearon/react-document-title (fetched 2026-08-28T04:05:44.310228+00:00, sha b95f0f560f0d)
  - registry_npm: https://registry.npmjs.org/react-document-title (fetched 2026-08-29T10:56:15.704110+00:00, sha f8491918573b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
