alepha@docs:~/docs/packages/alepha/react$
cat head.md1 min read
Last commit:
#Alepha - React Head
#Installation
Part of the alepha package. Import from alepha/react/head.
npm install alepha
#Overview
HTML head element management.
Features:
- Title, meta tags, and links
- SEO optimization
- Social media tags
#API Reference
#Primitives
$head— Set global<head>options for the application.
#React Hooks
useHead— ```tsx
#Providers
BrowserHeadProvider— Browser-side head provider that manages document head elements.HeadProvider— Provides methods to fill and merge head information into the application state.ServerHeadProvider— Server-side head provider that fills head content from route configurations.