Skip to content

Number

Number

Number provides formatted numeric input with support for currency, phone numbers, credit cards, and custom patterns.

PropertyValue
Height48px
FontMonospace for numbers
AlignmentRight (currency), Left (other)

Rp X.XXX format for Indonesian Rupiah (e.g., Rp 150.000)

Currency Format

0000-0000-0000 format (e.g., 0812-3456-789)

0000-0000-0000-0000 format (e.g., 1234-5678-9012-3456)

X.XXX format with thousand separators (e.g., 1.500.000)

InputDisplayed
150000Rp 150.000
1000000Rp 1.000.000
500Rp 500
OptionDescription
Thousand SeparatorGroups digits (default: dot)
Decimal SeparatorSeparates decimals (default: comma)
PrecisionNumber of decimal places
PrefixValue prefix (e.g., Rp)
SuffixValue suffix
  • Currency input (Indonesian Rupiah)
  • Phone number formatting
  • Credit card input
  • Any numeric input with formatting
✅ Do❌ Don’t
Use appropriate format for data typeStore formatted values in database
Show formatted value to userUse text input for numbers
Store raw value in formsConfuse formatted vs raw value
Set precision for decimal valuesMix separators inconsistently