value | NumericTextValue | "" | value={value} | 显示内容 |
locales | string | "en-US" | locales="Example" | 数字格式化区域 |
format | Intl.NumberFormatOptions | — | format={value} | 数字格式化选项 |
animated | boolean | true | animated | 是否启用内容变化动效 |
trend | NumericTextTrend | 0 | trend={value} | 减少、自动、增加趋势 |
direction | NumericTextDirection | "normal" | direction={value} | 语义方向;normal 使用公共趋势,reverse 将文字、数字、计时器和倒计时方向全部取反 |
motionRole | TextMotionRole | "auto" | motionRole={value} | 内容语义定性;text 显式关闭数字推断,其他值用于普通数值、计时器或倒计时 |
transition | Partial<TextMotionTransition> | — | transition={value} | 与 numeric-text-main 一致的动效时序入口;Demo Slow Mode 使用 默认行为:{ duration: 550, easing: reference }。 |
respectMotionPreference | boolean | true | respectMotionPreference | 与 numeric-text-main 一致,默认遵循系统减少动效设置 |
font | string | — | font="Example" | 字体 |
size | string | number | — | size="Example" | 字号 |
weight | string | number | — | weight="Example" | 字重 |
lineHeight | string | number | — | lineHeight="Example" | 行高 |
color | SnowUIColor | string | — | color="Example" | 最终文字颜色 |
align | TextMotionAlign | — | align={value} | 对齐;默认继承父级 |
motionColor | TextMotionColor | — | motionColor={value} | 全部目标字符从左到右回落的临时颜色;默认不改变颜色,支持 chromatic() 逐字符渐变 |