Number
Integers with thousands separators (1,234). Add decimals, a sign, min and max; country: "TR" for Turkish separators.
← All examples·number
Preview
Form value: -
Display: -
Details
- Preset:
"number" - Form value:
"1234" - Error keys:
number.min,number.max - Max applies while typing, min on blur.
Customization
Limits and decimals
min, max, scale (fraction digits), signed and locale.
Form value: -
Display: -
Turkish separators
country: "TR" uses a dot for thousands and a comma for decimals.
Form value: -
Display: -
For the hook API see useViraMask(); for your own pattern see custom mask.
