[](https://npmjs.com/package/unhead)
[](https://npm.chart.dev/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](https://unhead.unjs.io/docs/typescript/head/guides/get-started/intro-to-unhead).
### Unhead v3 is out 🎉
32% faster, 11% smaller, streaming SSR, and a unified Vite plugin with DevTools. See the [v3 release notes](https://unhead.unjs.io/v3).
## 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](https://unhead.unjs.io/learn/guides/what-is-capo) tag sorting
- 🤝 Vue, React, Solid, Svelte, Angular. Used by [Nuxt](https://nuxt.com/)
## Get Started
Install `unhead` dependency to your project:
```bash
npm install unhead
```
> [!TIP]
> Generate an Agent Skill for this package using [skilld](https://github.com/harlan-zw/skilld):
> ```bash
> npx skilld add unhead
> ```
Visit the [documentation site](https://unhead.unjs.io/) for guides and API references.
## Sponsors