This component is a port of FitText.

FitText makes font-sizes flexible. Use this plugin on your fluid or responsive layout to achieve scalable headlines that fill the width of a parent element.

This port is 100% jQuery free, you only need React to use it.

Usage

If you want to use this component on your React project you only need to add react-fittext to your dependencies

        npm install react-fittext --save
      

There is an excelent use example in this very same page. To use React-Fittext on the title and subtitle of this page you only need to do this: