β³ Universal document <head> tag manager. Tiny, adaptable and full-featured.
Universal document
tag manager. Tiny, adaptable and full featured.
|
Status: v1.1.0 Released Please report any issues π Made possible by my Sponsor Program π Follow me @harlan_zw π¦ β’ Join Discord for help |
useServerHead (supporting 0kb runtime)npm i unhead
For specific frameworks integrations, see the docs.
Create the head client somewhere in your root application.
import { createHead } from 'unhead'
createHead()
Then use the composables anywhere you want.
// pages/about.js
import { useHead } from 'unhead'
useHead({
title: 'About',
meta: [
{ name: 'description', content: 'Learn more about us.' },
],
})
Visit the documentation site for guides and API reference.
MIT License Β© 2022-PRESENT Harlan Wilton