text | string | number | "" | text="Example" | Final text to display. |
direction | SlotTextDirection | — | direction={value} | Semantic direction for text and numbers. normal uses the shared trend direction; reverse inverts it completely. |
trend | SlotTextTrend | 0 | trend={value} | Numeric trend. 0 infers direction: increasing values move up and decreasing values move down. |
motionRole | SlotTextMotionRole | "auto" | motionRole={value} | Semantic role of the content. text disables numeric inference; other values describe ordinary numbers, timers, or countdowns. |
skipUnchanged | boolean | true | skipUnchanged | Skip characters that did not change. |
interrupt | boolean | true | interrupt | Whether new content interrupts the current animation. true transitions from the current frame to the latest text; false waits until the current run ends. |
replayKey | string | number | 0 | replayKey="Example" | Changing this value while text stays the same replays from empty slots. A text change runs the normal difference animation. |
playOnMount | boolean | false | playOnMount | Replay from empty slots after mounting. |
animated | boolean | true | animated | Enable animated text changes. |
respectMotionPreference | boolean | false | respectMotionPreference | Follow the system reduced-motion setting only when explicitly enabled. |
transition | Partial<SlotTextTransition> | — | transition={value} | Timing override for debugging or demos; does not change the default motion baseline. Refer to the project defaults. |
font | string | — | font="Example" | Font family; accepts SnowUI tokens. |
size | string | number | — | size="Example" | Font size; accepts SnowUI tokens. |
weight | string | number | — | weight="Example" | Font weight. |
color | SnowUIColor | string | — | color="Example" | Final text color; accepts PascalCase semantic colors. |
lineHeight | string | number | — | lineHeight="Example" | Line height; accepts SnowUI tokens. |
align | TextMotionAlign | — | align={value} | Text alignment; inherits the parent by default. |
motionColor | TextMotionColor | — | motionColor={value} | Temporary color as target characters settle from left to right. Defaults to no color change and supports per-character gradients through chromatic(). |