| valuerequired | React.ReactNodeThe formatted amount without its sign — "1,250.00". If your formatter already wrote the sign, leave `sign` unset. | The formatted amount without its sign — "1,250.00". If your formatter already wrote the sign, leave `sign` unset. |
|---|
| currency | React.ReactNodeA currency or unit label shown with the value, exactly as given — "SAR", "USD", "€", "%", "kWh". | A currency or unit label shown with the value, exactly as given — "SAR", "USD", "€", "%", "kWh". |
|---|
| currencyPosition | "before" | "after"Where the label sits relative to the value, in reading order. Default "before" ("SAR 1,250.00"). | Where the label sits relative to the value, in reading order. Default "before" ("SAR 1,250.00"). |
|---|
| sign | "positive" | "negative"Writes a sign before the amount, plus a spoken word for it. Default: none. | Writes a sign before the amount, plus a spoken word for it. Default: none. |
|---|
| tone | "positive" | "negative" | "neutral"Colour reinforcement. Independent of `sign`; never the only signal. Default "neutral". | Colour reinforcement. Independent of `sign`; never the only signal. Default "neutral". |
|---|
| size | "compact" | "standard"`compact` inside lists and tables; `standard` (default) where the amount is the point. | `compact` inside lists and tables; `standard` (default) where the amount is the point. |
|---|
| accessibleLabel | stringWhat assistive technology hears instead of the visible text — "minus 25 Saudi riyals". | What assistive technology hears instead of the visible text — "minus 25 Saudi riyals". |
|---|
| signLabels | { positive?: string; negative?: string; }The spoken words for the sign glyphs. Defaults: { positive: "plus", negative: "minus" }. | The spoken words for the sign glyphs. Defaults: { positive: "plus", negative: "minus" }. |
|---|