CurrencyAmount
stableCurrency-aware monetary amount with semantic sign coloring, monospace tabular-nums, and ISO 4217 label
import { CurrencyAmount } from "@nodus/design-system/finance"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
amountreq | number | — | Numeric amount (may be negative) |
currencyreq | string | — | ISO 4217 currency code |
sign | AmountSign | — | Override sign detection: positive | negative | neutral |
compact | boolean | — | Compact notation (K, M, B) |
showPlusSign | boolean | — | Show + prefix on positive values |
amountrequiredType
numberDefault —Numeric amount (may be negative)
currencyrequiredType
stringDefault —ISO 4217 currency code
signType
AmountSignDefault —Override sign detection: positive | negative | neutral
compactType
booleanDefault —Compact notation (K, M, B)
showPlusSignType
booleanDefault —Show + prefix on positive values
MobileWorks As-Is
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?