Skip to content
R

react-document-meta

Declarative, nested and stateful HTML document meta tags for React

by danieljuhlFree

#923in UI Libraries
0In stores

Description

react-document-meta sets HTML meta tags for React apps, including the tags used for search engines, Open Graph and Twitter cards. It works f…

Highlights

  • Declarative meta tags for React
  • Nested defaults with extend
  • Automatic Open Graph tags
  • Client-side and server-side rendering
  • Built on React Side Effect

Ratings & Reviews

No ratings yet

Be the first to rate react-document-meta.

People also visit

R

react-document-title

A declarative, nested, stateful document.title for React

UI Libraries
Launch
R

react-meta-tags

Handle document meta/head tags in isomorphic react with ease

UI Libraries
Launch
R

react-titled

To set document.title with ease. Nested. Flexible

UI Libraries
Launch
I

interweave

React library to safely render HTML, filter attributes, autowrap text

UI Libraries
Launch
R

react-body-classname

A declarative, nested way to manipulate your body's className

UI Libraries
Launch
D

Django Meta

Pluggable app to allow Django developers to quickly add meta tags and OpenGraph

Productivity
Launch

react-document-meta FAQ

What is react-document-meta?

A React library for setting HTML meta tags, such as title, description and Open Graph tags, from your components.

Which React version does it need?

React 0.14 or later. The README says React 0.13 needs react-document-meta 1.0.0.

How do nested meta tags work?

The deepest data set is used. Add an extend attribute to a DocumentMeta component to merge its tags with the ones set one level up.

Does it work with server-side rendering?

Yes. The README has a server usage section for projects that render on the server.

Does it generate social tags?

Yes. It creates Open Graph title, description and URL from your title, description and canonical values, unless you set those tags explicitly.

What are the best react-document-meta alternatives?

Popular alternatives to react-document-meta include react-document-title, react-meta-tags and react-titled. See all react-document-meta alternatives

Developer Stuff

Badges