Components

BaseFormattedValue

A number or amount formatted for the current language, with an optional prefix, suffix or icon.

components/ui/BaseFormattedValue.vue
View in the demo

Example

1280
$48,250.50
3.5%
~72ms
4.8
1250

API

Props

Name
Type
Default
Description
value
required
string | number—The value to format.
type
required
"default" | "currency""default"default (number) or currency (with NUXT_PUBLIC_DEFAULT_CURRENCY).
suffixstring—Text after the value, or icon-<name> for an icon.
prefixstring—Text before the value, or icon-<name> for an icon.
© 2026 melsami UI.
Developer documentation for melsami UI.