Statistic

Display statistics.

Basic usage

To highlight a number or a group of numbers, such as statistical value, amount, and ranking, you can add elements such as icon and unit before and after the number and title. And use vueuse to add animated transitions to value.

Daily active users
268,500
Ratio of men to women
138
/100
Total Transactions
172,000
Feedback number
562

Countdown

Countdown component, support to add other components control countdown.

Start to grab
00:00:00
Remaining VIP time
00:00:00
Still to go until next month
00 days 00:00:00
2026-11-01

TIP

In formatting it is suggested to be in the range of days

Card usage

Card usage display, can be freely combined

Daily active users
98,500
than yesterday24%
Monthly Active Users
693,700
month on month12%
New transactions today
72,000
than yesterday16%

Statistic API

Statistic Attributes

AttributeDescriptionTypeDefault
valueNumerical contentnumber0
decimal-separatorSetting the decimal pointstring.
formatterCustom numerical presentationFunction—
group-separatorSets the thousandth identifierstring,
precisionnumerical precisionnumber0
prefixSets the prefix of a numberstring—
suffixSets the suffix of a numberstring—
titleNumeric titlesstring—
value-styleStyles numeric valuesstring / object—

Statistic Slots

NameDescription
prefixNumeric prefix
suffixSuffixes for numeric values
titleNumeric titles

Statistic Exposes

NameDescriptionType
displayValuecurrent display valueobject

Countdown API

Countdown Attributes

AttributeDescriptionTypeDefault
valuetarget timenumber / Dayjs—
formatFormatting the countdown displaystringHH:mm:ss
prefixSets the prefix of a countdownstring—
suffixSets the suffix of a countdownstring—
titlecountdown titlesstring—
value-styleStyles countdown valuesstring / object—

Countdown Events

NameDescriptionType
changeTime difference change eventFunction
finishcountdown end eventFunction

Countdown Slots

NameDescription
prefixcountdown value prefix
suffixcountdown value suffix
titlecountdown title

Countdown Exposes

NameDescriptionType
displayValuecurrent display valueobject