Overview
Solid Meta 1.x requires Solid 2.x (currently in beta). If you are using Solid 1.x, use @solidjs/meta 0.29.x and the latest documentation instead.
Solid Meta provides document head management for Solid applications — declare <title>, <meta>, <link>, and other head elements anywhere in your component tree, with streaming-correct server rendering and flicker-free hydration.
Solid Meta 1.x is a thin component layer over Solid 2.0's built-in head registry (useHead in @solidjs/web). There is no provider — the registry is ambient. Render a head component anywhere and it registers under the current reactive owner, and server rendering splices the winning tags into your document automatically.
| Solid version | @solidjs/meta version |
|---|---|
| Solid 2.x | 1.x |
| Solid 1.x | 0.27.x – 0.29.x |
| Solid 0.x | 0.26.x |
If you are upgrading an existing app from @solidjs/meta 0.x, start with the migration guide.