---
title: "Overview · Unhead"
canonical_url: "https://unhead.unjs.io/docs/svelte/head/api/get-started/overview"
last_updated: "2026-07-29T22:18:32.903Z"
meta:
  description: "API reference for useHead(), useSeoMeta(), and useScript(), plus DOM and SSR rendering hooks with TypeScript signatures."
  "og:description": "API reference for useHead(), useSeoMeta(), and useScript(), plus DOM and SSR rendering hooks with TypeScript signatures."
  "og:title": "Overview · Unhead"
---

Home

`
Unhead on GitHub

Switch to SvelteSwitch to TypeScriptSwitch to VueSwitch to ReactSwitch to Solid.jsSwitch to AngularSwitch to Nuxt

**Get Started**

# **Overview**

Use `**useHead()**` for general head management, `**useSeoMeta()**` for SEO tags, and `**useScript()**` for script loading. The head composables return an entry with `**patch()**` and `**dispose()**`; `**useScript()**` returns a script controller.

## Composables

**useHead()**

The main composable for managing head tags.

[useHead()](https://unhead.unjs.io/docs/head/api/composables/use-head)

**useHeadSafe()**

Restrictive filtering for untrusted head input.

[useHeadSafe()](https://unhead.unjs.io/docs/head/api/composables/use-head-safe)

**useSeoMeta()**

A composable for managing SEO-related tags.

[useSeoMeta()](https://unhead.unjs.io/docs/head/api/composables/use-seo-meta)

**useScript()**

A composable for loading and managing external scripts.

[useScript()](https://unhead.unjs.io/docs/head/api/composables/use-script)

## Plugins

See the [**~~Plugins API~~**](https://unhead.unjs.io/docs/head/api/plugins) for creating custom plugins with `**defineHeadPlugin**`.

## Hooks

### Entry Hooks

- [**~~entries:updated~~**](https://unhead.unjs.io/docs/head/api/hooks/entries-updated): Called after client entries change
- [**~~entries:resolve~~**](https://unhead.unjs.io/docs/head/api/hooks/entries-resolve): Called before the entry snapshot is resolved to tags
- [**~~entries:normalize~~**](https://unhead.unjs.io/docs/head/api/hooks/entries-normalize): Called after one entry has been normalized to tags

### Tag resolution

- [**~~tag:normalise~~**](https://unhead.unjs.io/docs/head/api/hooks/tag-normalise): Reserved legacy hook; currently not emitted
- [**~~tags:beforeResolve~~**](https://unhead.unjs.io/docs/head/api/hooks/tags-before-resolve): First hook over the resolved, deduplicated tag set
- [**~~tags:resolve~~**](https://unhead.unjs.io/docs/head/api/hooks/tags-resolve): Called after `**tags:beforeResolve**`
- [**~~tags:afterResolve~~**](https://unhead.unjs.io/docs/head/api/hooks/tags-after-resolve): Final tag-resolution hook before rendering

### DOM rendering

- [**~~dom:beforeRender~~**](https://unhead.unjs.io/docs/head/api/hooks/dom-before-render): Called before resolving and rendering to the DOM (synchronous)

### Server rendering

- [**~~ssr:beforeRender~~**](https://unhead.unjs.io/docs/head/api/hooks/ssr-before-render): Called before server-side rendering
- [**~~ssr:render~~**](https://unhead.unjs.io/docs/head/api/hooks/ssr-render): Called after tags resolve but before serialization
- [**~~ssr:rendered~~**](https://unhead.unjs.io/docs/head/api/hooks/ssr-rendered): Called with the final SSR payload

### Script loading

- [**~~script:updated~~**](https://unhead.unjs.io/docs/head/api/hooks/script-updated): Internal hook emitted for script lifecycle status changes

[~~Edit this page~~](https://github.com/unjs/unhead/edit/main/docs/head/7.api/0.get-started/overview.md)

[~~Markdown For LLMs~~](https://raw.githubusercontent.com/unjs/unhead/refs/heads/main/docs/head/7.api/0.get-started/overview.md)

**Did this page help you? **

[**Validate** Catch common SEO, resource-loading, and head-tag mistakes. Validate URLs, metadata, Open Graph fields, and likely typos.](https://unhead.unjs.io/docs/head/guides/plugins/validate) [**useHead()** Manage document head tags with useHead(). Set titles, meta tags, scripts, and styles with typed input and reactive updates.](https://unhead.unjs.io/docs/head/api/composables/use-head)

**On this page **

- [Composables](#composables)
- [Plugins](#plugins)
- [Hooks](#hooks)