Counter

  • Countup involves incrementally increasing a numerical value from a starting point to a specified endpoint, often used in timers and progress trackers. For more details
  • Installation
    npm i react-countup
    Script
    export { default } from './CountUp';
    export type { CountUpProps } from './CountUp';
    export { default as useCountUp } from './useCountUp';
    • Write below example code in your component to use apexchart

    Example

    'const CountUp = dynamic(() => import("react-countup"), { ssr: false });';
                    
    const CounterUp = () => {
        return (
            <div>
                <CountUp start={0.563} end={2.648} duration={3} decimals={3}/>
            </div>
        )
    }