Default Counter Card
The Counter Cards components helps you to simply create a beautiful animations that display numerical data in a more interesting way. It uses vue-count-to in base and you can use all of its props.
Demo
21 °C
Living Room
Temperature
Props Information
Name | Type | Default | Description |
---|---|---|---|
count* | Number | Used to set a value for the DefaultCounterCard component. It is a required prop. | |
duration | Number | 4000 | Used to set duration of the DefaultCounterCard animation. |
prefix | string | Used to set a prefix for the component. | |
suffix | string | Used to set a suffix for the component. | |
title* | String | Used to set title of the DefaultCounterCard component. It is a required prop. | |
description* | String | Used to set description of the DefaultCounterCard component. It is a required prop. | |
color* | successprimarysecondaryinfowarningerrordarkdangerlight | It is used to set DefaultCounterCard text color. It is a required prop. |