jxnblk / React Fitter Happier Text
React component for fully fluid headings
Stars: ✭ 49
Programming Languages
javascript
184084 projects - #8 most used programming language
react-fitter-happier-text
React component for fully fluid headings
Note: Requires react >= 0.14.0
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].