OptionalcolorCSS-compatible color string override.
OptionaldurationTotal animation duration in milliseconds.
OptionalfadePercentage of duration (0-1) when fading begins.
OptionalfloatVertical distance the number floats upwards.
OptionalfontCSS-compatible font family string.
OptionalfontFont size in pixels.
OptionalfontCSS font-weight value.
OptionalonCallback fired when the fade animation completes and the component can be unmounted.
Starting world position [x, y, z] where the number appears.
OptionalrandomMaximum random horizontal jitter in pixels.
OptionalscaleInitial scale multiplier for impact emphasis.
OptionaltypeCategory determining visual style (color/size).
OptionalvalueThe numeric value to display.
Props for the DamageNumber component.
Displays floating, animated text in world space to indicate damage or healing.