Skip to content
forked from unjs/unhead

Unhead is the any-framework document head manager built for performance and delightful developer experience.

License

Notifications You must be signed in to change notification settings

HillwoodPark/unhead

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
Jul 22, 2024
Jul 22, 2024
Jul 22, 2024
Jul 21, 2024
Jul 20, 2024
Nov 2, 2022
Jul 22, 2024
Nov 2, 2022
Jan 2, 2024
Jul 3, 2024
Mar 4, 2024
Jul 22, 2024
Jul 22, 2024
Jul 22, 2024
Nov 20, 2022
Oct 26, 2023
Sep 3, 2023

Repository files navigation

Unhead

NPM version NPM Downloads GitHub stars

Universal document <head> tag manager. Tiny, adaptable and full featured.


Status: v1.9 Released
Please report any issues πŸ›
Made possible by my Sponsor Program πŸ’–
Follow me @harlan_zw 🐦 β€’ Join Discord for help

Highlights

  • 🌳 Powerful pluggable core with a tiny footprint
  • 🍣 All the good stuff: deduping, sorting, title templates, template params, etc.
  • πŸͺ¨ Rock-solid DOM updates, fast and tiny (~1kB minzipped)
  • πŸš€ Add-ons for extra oomph: Capo.js, Tree-shaking, useSeoMeta, useScript, etc.
  • πŸ’Ž Fully typed with MDN docs
  • 🀝 Used by Nuxt with more framework support coming soon.

Docs

Visit the documentation site for guides and API references.

Install

npm i unhead

Quick Setup

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.' },
  ],
})

Demos

Sponsors

License

MIT License Β© 2022-PRESENT Harlan Wilton

About

Unhead is the any-framework document head manager built for performance and delightful developer experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%