Skip to content
tcpsystemsui

Theme

Colour scheme
Accent
Density
Radius
Esc

FormatNumber

A number in the reader's locale and tabular figures: plain, compact, bytes, percent or duration, with an em dash for empty values.

beta

Examples

Live examples for this component are on the way.

API

Import
import FormatNumber from '@tcpsystems/ui/foundation/FormatNumber';
PropTypeDefault
valuenumber | null | undefinednone
mode?NumberMode'number'
locale?string'en-GB'
maximumFractionDigits?numbernone
binary?booleanfalse
fallback?string'—'
HookKind
.tcp-numRoot class