Statistic
Display metrics and countdowns. Numbers initially count up or down from 0 to the target. Later changes animate from the currently displayed value to the new target.
Basic usage
Value animation
Set initialValue to choose the starting number for the first animation. The default duration is 1000 milliseconds; use duration to adjust it. Repeated increases or decreases continue from the currently displayed value. Replay remounts the example to start again from 1,000.
Set animation={false} or duration={0} to display the target immediately. Animation follows the regional motion speed, ConfigProvider's theme.motion, and the system reduced-motion preference. Counting starts after loading ends. Only finite number values animate; strings and nonfinite numbers display immediately. formatter receives the intermediate numbers. Server rendering outputs the target, and animation starts after the client mounts. Countdown updates remain immediate.
Countdown
Statistic API
Countdown API
Types and interaction
Import the props and data types when creating reusable configuration.
Provide accessible labels for icon-only actions. Interactive controls support keyboard navigation and respect ConfigProvider themes and reduced motion.