react-fitter-happier-text
v1.0.2
Published
React component for fully fluid headings
Downloads
7
Maintainers
Readme
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