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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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