# unjs/unhead

The full stack <head> package for any framework.

Repository: https://github.com/unjs/unhead
Canonical: https://ross.abutalabs.com/products/unhead
Homepage: https://unhead.unjs.io
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T09:15:09+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 1400, "days_push": 7, "days_rel": 12, "gap_med": 4, "n_releases_24m": 84}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1305, forks 75 (observed 2026-08-28T04:04:18.636066+00:00)

## What it is
Unhead is a framework-agnostic TypeScript library for managing the HTML document head (titles, meta tags, scripts, links, attributes) in reactive JavaScript applications. It supports Vue, React, Svelte, Solid, and Angular with reactive client-side updates, server-side rendering, and streaming SSR head tag injection.

## Use cases
- manage page titles and meta tags in a Vue or React app
- add SEO meta tags with SSR in Nuxt or SvelteKit
- load third-party scripts performantly with useScript
- deduplicate and sort head tags for SEO performance
- stream head tags during suspense-based SSR
- generate Schema.org structured data automatically
- migrate from react-helmet or vue-meta

## When to choose
- you need reactive, typed head management across SSR and client rendering
- you want a tiny (~4.4kb) tree-shakable alternative to react-helmet or vue-meta
- you need streaming SSR head updates as suspense boundaries resolve
- you want built-in tag deduping, Capo.js sorting, and SEO meta helpers

## When to avoid
- you use Vue 2 (only v1 supports it)
- your app is fully static with no dynamic head requirements
- you only need a single static title tag that your framework already handles

## Facets
- artifact type: library
- maturity: stable
- function: ssr, frontend-framework, web-framework, developer-tools
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: head-management, seo, meta-tags, document-head, streaming-ssr, vue, react, svelte, solid, angular, nuxt, typescript, schema-org, vite-plugin, search, nodejs, web-server

## Member repositories
- unjs/unhead (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:18.636066+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-30T04:51:05.221885+00:00, confidence not recorded.
  - readme: https://github.com/unjs/unhead (fetched 2026-08-28T04:04:18.636066+00:00, sha 6f5ccf7772e5)
  - homepage: https://unhead.unjs.io (fetched 2026-08-29T12:09:46.314692+00:00, sha 7249cf9ae305)
  - site_page: https://unhead.unjs.io/docs/head/guides/get-started/overview (fetched 2026-08-29T12:09:46.324755+00:00, sha ba4bca888493)
  - site_page: https://unhead.unjs.io/docs/releases/v3 (fetched 2026-08-29T12:09:46.328922+00:00, sha 9221bbe6759b)
  - site_page: https://unhead.unjs.io/docs/typescript/head/guides/get-started/installation (fetched 2026-08-29T12:09:46.330923+00:00, sha 237da5181e3b)
  - site_page: https://unhead.unjs.io/docs/vue/head/guides/get-started/installation (fetched 2026-08-29T12:09:46.332673+00:00, sha d91733a7c049)
  - site_page: https://unhead.unjs.io/docs/react/head/guides/get-started/installation (fetched 2026-08-29T12:09:46.334364+00:00, sha a12732c09b94)
  - site_page: https://unhead.unjs.io/docs/svelte/head/guides/get-started/installation (fetched 2026-08-29T12:09:46.336172+00:00, sha 413b6ac17673)
  - site_page: https://unhead.unjs.io/docs/solid-js/head/guides/get-started/installation (fetched 2026-08-29T12:09:46.337964+00:00, sha 78c78ff1c64c)
  - site_page: https://unhead.unjs.io/releases (fetched 2026-08-29T12:09:46.326843+00:00, sha 9df5b217495b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
