alepha@docs:~/docs/framework/packages/alepha/react$
cat head.md | pretty1 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- Read and update the document head (title, meta, …) from a component.
#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.