NumberField
An input used for entering numerical values.
Importing
1
import { NumberField } from '@infinityfx/fluid';Usage
With annotation
API reference
NumberField Props
precision?
number
3
Maximum number of digits to allow after the decimal.
controls?
boolean
true
Shows increment/decrement controls on the sides of the input field.
size?
'xsm' | 'sml' | 'med' | 'lrg'
'med'
variant?
'default' | 'minimal'
'default'
round?
boolean
false
icon?
React.ReactNode
Icon element displayed on the left side of the field.
error?
any
Marks the field as invalid when truthy.
disabled?
boolean
false