data-display / beta
Amount
A formatted number with tabular numerals, a typographic minus, optional sign and sign-driven tone — money, counts, percents or custom units in the Kit locale.
LIVE PREVIEW
Loading preview…
When to use
- Money and quantities in tables, stats, timelines and summaries.
- Signed changes: pass signDisplay="exceptZero" and tone="sign".
Consider an alternative
- Editing a number — use NumberField.
- A rail property pill — use PropertyValue.
- Status words — use Badge or InlineStatus.
Import
import { Amount } from '@revido-llc/kit';Props
Props documented by the Kit. Refer to the TypeScript types for the complete interface, including inherited props.
Examples
Signs and tones
<Amount value={-1.5} signDisplay="exceptZero" tone="sign" />Money, percent and units
<Amount value={48250} minorUnits format={{ style: "currency", currency: "USD" }} /> // $482.50In a stat and a table cell
<StatCard label="Balance" value={<Amount value={1234.5} format={{ style: "currency", currency: "USD" }} />} />
<DataTable aria-label="Payments" data={rows} columns={columns} columnAlign={{ value: "end" }} />Missing value
<Amount value={null} />