Skip to content
Number ⚠️ Experimental
The Number component can be used imported from:
Playground
Parameters
Parameters use
Check the documentation about how to use the parameters.
amount
The amount to be displayed as a number.
locale
The locale to be used to format the number. If not set, the default locale of the browser will be used.
unit
The unit to be displayed with the number.
decimals
The number of decimals to be displayed. If not set, the default number of decimals of the number will be used. The maximum number of decimals is 5
.
Flags
truncate
If set, the number will be truncated.
compact
The number will be displayed in a compact format.
Browser support
Detected engine:
Chromium
Webkit
Gecko
CodeSandbox example
Sorry, not available yet ☹️