react-fitter-happier-text

1.0.2 • Public • Published

react-fitter-happier-text

React component for fully fluid headings

Demo

http://jxnblk.com/react-fitter-happier-text

Usage

npm i react-fitter-happier-text
var React = require('react')
var FitterHappierText = require('react-fitter-happier-text')
 
React.render(<FitterHappierText text='Hello World' />, document.querySelector('#hello-world'))

Note: this component relies on element.offsetWidth and only works in client-side contexts.

Related

http://jxnblk.com/fitter-happier-text

MIT License

Package Sidebar

Install

npm i react-fitter-happier-text

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • jxnblk