react-mf

A react component to display molecular formulas

Usage no npm install needed!

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

README

react-mf

NPM version build status npm download

React component to display molecular formulas.

Installation

npm install react-mf

Usage

import { MF } from 'react-mf';

function MyComponent() {
  return <MF mf="C6H6" />;
}

Documentation

See https://zakodium.github.io/react-mf/ for detailed usage examples.