JSPM

animate-number-react

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25613F
  • License MIT

React component that animates a number

Package Exports

  • animate-number-react

Readme

animate-number-react

Documentation - livemehere-dev-packs

example

Introduction

This is a React component that can animate number from one value to another.
Basically, 0 is the start value and children is the end value.(children must be a string or number)

Features

  • Animate number from 0 to children
  • Animate number from previous children to children.(you can update)
  • Support two types of animation : slide and direct.
  • Customizable animation duration, easing, format, separator, decimal, startVal etc.