react-metamorph

React component to help save work filling meta tags

Usage no npm install needed!

<script type="module">
  import reactMetamorph from 'https://cdn.skypack.dev/react-metamorph';
</script>

README

react-metamorph

Introduction

This package aims to save time dynamically rendering metatags that seem redundant, such as those by Open Graph and Twitter.

Installation

npm i react-metamorph -S

Usage

import React, { Component } from 'react';
import { Metamorph } from 'react-metamorph';

class MyPage extends Component {
  render() {
    return <Metamorph title="Hello World!"
      description="Welcome to my page!"
      keywords=["My page", 'Hello World']
      image="hello.jpg" />
  }
}