Number formatting reference#
This page shows the canonical number, currency and date layouts that the components produce for each locale.
For detailed prop lists, see the NumberFormat component and the DateFormat component.
The tables below focus on the locales most commonly used at DNB (nb-NO, en-GB, sv-SE and da-DK), but Eufemia supports many more region/locale combinations. Any valid BCP 47 locale supported by the browser's Intl APIs – for example en-NO (English – Norway) or en-US – can be passed to the locale prop and will be formatted accordingly.
Phone number#
Bank account number#
National identification number#
Organization number#
Numbers#
Compact#
Percentage#
Amount and Currency#
Date#
Date + time#
Date without year#
The component always includes the year unless hideYear or hideCurrentYear is set.
Date without year + time#
Relative time#
All examples below use the same reference point (2026-02-06T12:00:00Z) so the labels stay stable.