Meta - React
Meta - React
v19
<meta>
The built-in browser <meta> component lets you add metadata to
the document.
Reference
<meta>
Usage
Reference
<meta>
https://react.dev/reference/react-dom/components/meta 1/5
20/02/2025, 18:32 <meta> – React
Props
React will always place the DOM element corresponding to the <meta>
component within the document’s <head> , regardless of where in the React
tree it is rendered. The <head> is the only valid place for <meta> to exist
within the DOM, yet it’s convenient and keeps things composable if a
component representing a specific page can render <meta> components
itself.
Usage
https://react.dev/reference/react-dom/components/meta 2/5
20/02/2025, 18:32 <meta> – React
You can render the <meta> component from any component. React will put a
<meta> DOM node in the document <head> .
https://react.dev/reference/react-dom/components/meta 3/5
20/02/2025, 18:32 <meta> – React
You can use the <meta> component with the itemProp prop to annotate
specific items within the document with metadata. In this case, React will
not place these annotations within the document <head> but will place them
like any other React component.
<section itemScope>
<h3>Annotating specific items</h3>
<meta itemProp="description" content="API reference for using <meta> wit
<p>...</p>
</section>
PREVIOUS
<link>
NEXT
<script>
uwu?
https://react.dev/reference/react-dom/components/meta 4/5
20/02/2025, 18:32 <meta> – React
Describing the UI
Adding Interactivity
Managing State
Escape Hatches
Community More
Acknowledgements Terms
https://react.dev/reference/react-dom/components/meta 5/5