Stats Card

Cards & Layout

Animated statistics card with spring-based number counter, trend indicator (up/down), optional icon, prefix/suffix, and scroll-triggered entrance.

Loading preview...
Customize
Value
12450
Label
Prefix
Suffix

Props

PropTypeDefaultDescription
valuenumberThe numeric value displayed with animated counting.
labelstringundefinedLabel text shown above the value.
trend{ value: number; direction: 'up' | 'down' }undefinedTrend indicator with percentage and direction.
iconReact.ReactNodeundefinedOptional icon displayed in the top-right corner.
prefixstringundefinedText prefix before the number (e.g. '$').
suffixstringundefinedText suffix after the number (e.g. '%').
classNamestring''Additional CSS classes.