Counter

Simple animated number counter. Can be used for in-view animations and stat type widgets.

Counter

Displayed as a simple card, but can be used in any interface layout.

Note:
The counter method takes two parameters, the target value and the speed. The higher the speed value, the longer the animation. The default speed value is 200.

i.e: x-data="counter(780, 400)"