This is a count up component in much light version.
yarn add react-countup-light
or
npm install react-countup-light
import React from 'react';
import { render } from 'react-dom';
import CountUp from 'react-countup-light';
render(
<CountUp startNum={0} endNum={30} duration={2000} />,
document.getElementById('root')
);
Start value
End value
Duration in milliseconds
You can define your own class here
MIT