Props
Every prop has a default, so the component renders as it is. Change any of them in Studio or in code.
labelstring = "Creator payouts"
The small line over the figure.
fromnumber = 1058.77
Where the count starts.
tonumber = 1903.73
Where it lands (as the light goes out).
prefixstring = "$"
Before the figure, e.g. a currency sign.
decimalsinteger = 2
Digits after the point.
glowcolour = "#202652"
The colour of the light at its core.
fieldcolour = "#0f0d1a"
The dark the light dies into.
labelColorcolour = "#52545f"
The colour of the label.
inkColorcolour = "#fffdfe"
The colour of the figure.
countSecondsnumber = 0.9
Seconds the figure takes to land.
lightOutAtnumber = 0.43
Seconds when the light starts to drain.
lightOutFornumber = 0.55
Seconds it takes to go out.
pushSecondsnumber = 1.23
Seconds the whole push takes. The shape of it is measured.
holdSecondsnumber = 0.3
Seconds the figure holds alone after the push.
Compositions
- TallyRise