This reusable React component will manage all of your changes to the document head. Helmet takes plain HTML tags and outputs plain HTML tags. It's dead simple, and React beginner friendly. Helmet 5 is fully backward-compatible with previous Helmet releases, so you can upgrade at any time without fear of breaking changes. We encourage you to update your code to our more semantic API, but please feel free to do so at your own pace. If you are using a prebuilt compilation of your app with webpack in the server be sure to include this in the webpack file so that the same instance of react-helmet is used. Supports all valid head tags: title, base, meta, link, script, noscript, and style tags. It also supports attributes for body, html and title tags. Duplicate head changes are preserved when specified in the same component (support for tags like "apple-touch-icon").

Features

  • Supports all valid head tags: title, base, meta, link, script, noscript, and style tags
  • Supports attributes for body, html and title tags
  • Supports server-side rendering
  • Nested components override duplicate head changes
  • Duplicate head changes are preserved when specified in the same component (support for tags like "apple-touch-icon")
  • Callback for tracking DOM changes

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow React Helmet

React Helmet Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of React Helmet!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Documentation Software, JavaScript Version Control Software

Registered

2021-04-05