README.md
April 9, 2026 ยท View on GitHub
unhead
Unhead is a document head and template manager, improving reactive SSR JavaScript framework developer experience, SEO and performance. See the full introduction to Unhead.
|
Made possible by my Sponsor Program ๐ Follow me @harlan_zw ๐ฆ โข Join Discord for help |
Unhead v3 is out ๐
32% faster, 11% smaller, streaming SSR, and a unified Vite plugin with DevTools. See the v3 release notes.
Highlights
- ๐ Streaming SSR: head tags push to the DOM as suspense boundaries resolve
- ๐ ๏ธ Unified Vite plugin + DevTools: tree-shaking, validation, source tracing
- โจ
useHead(): Deduping, sorting, tag merging, and type narrowing - ๐ฃ
useSeoMeta(): Flat SEO meta tags with compile-time transform - ๐งฉ
useScript(): Powerful and performant script loading API - ๐ Tiny (4.4kb gz), tree-shaken, Capo.js tag sorting
- ๐ค Vue, React, Solid, Svelte, Angular. Used by Nuxt
Get Started
Install unhead dependency to your project:
npm install unhead
Visit the documentation site for guides and API references.
Sponsors
License
MIT License ยฉ 2022-PRESENT Harlan Wilton