value | number | string | — | value="Example" | Current number. An unparseable string is treated as 0. |
locales | string | "en-US" | locales="Example" | Locale or locales passed to Intl.NumberFormat. |
format | Intl.NumberFormatOptions | {} | format={value} | Number formatting options. |
trend | TrendResolver | 0 | trend={value} | Explicit change trend. At 0, infer it from the previous and next numeric values. |
motionRole | TextMotionRole | "auto" | motionRole={value} | Semantic role used to classify the numeric trend. |
transition | NumberFlowTransition | — | transition={value} | Override the wheel transition duration. |
digits | Record<number, { max?: number }> | — | digits={digitsOptions} | Set a cycling limit for specified digit positions, such as the tens position in a timer. |
numberPosition | "left" | "right" | "right" | numberPosition="left" | Position of children relative to the number. |
rollDirection | RollDirection | "normal" | rollDirection={value} | Interpret the trend in its normal or reversed direction. |
loading | boolean | — | loading | Show a Skeleton sized from the current text width. |
skeleton | boolean | — | skeleton | Connect to Skeleton Context. |
renderHints | RenderHints | — | renderHints={value} | Override Skeleton shape and size hints. |
respectMotionPreference | boolean | false | respectMotionPreference | When true, honor reduced motion and show the final number immediately. |
font | string | — | font="Example" | Font family for digits; inherits the container font when omitted. |
size | string | number | — | size="Example" | Font size for digits. Numbers become pixels; strings may use SnowUI tokens or CSS values. |
weight | string | number | — | weight="Example" | Font weight for digits; inherits the container when omitted. |
lineHeight | string | number | — | lineHeight="Example" | Line height of the root layout. The inner wheel retains its own clipped 1em window. |
color | SnowUIColor | string | — | color="Example" | Final text color; inherits the container when omitted. |
align | TextMotionAlign | — | align={value} | Alignment inside the number. |
motionColor | TextMotionColor | — | motionColor={value} | Temporary color as all target characters settle from left to right. chromatic() spans every digit, retained digit, separator, and formatted currency symbol, without affecting children. |
children | Snippet | — | <NumberFlow>Content</NumberFlow> | Additional content to the left or right of the number. |