invalid
Description
If true
, the form control will be invalid.
Type
boolean
Default
false
Leave Yamada UI a star
StarPinInput
is a component used to capture pin codes or OTP (One-Time Password) inputs.
Description
If true
, the form control will be invalid.
Type
boolean
Default
false
Description
If true
, the form control will be disabled.
Deprecated
Use disabled
instead.
Type
boolean
Default
false
Description
If true
, the form control will be invalid.
Deprecated
Use invalid
instead.
Type
boolean
Default
false
Description
If true
, the form control will be readonly.
Deprecated
Use readOnly
instead.
Type
boolean
Default
false
Description
If true
, the form control will be required.
Deprecated
Use required
instead.
Type
boolean
Default
false
Description
The visual color appearance of the component.
Type
"blackAlpha" | "whiteAlpha" | "amber" | "blue" | "info" | "link" | "primary" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "success" | "indigo" | "lime" | "neutral" | "orange" | "warning" | "pink" | "purple" | "red" | "danger" | "rose" | "sky" | "teal" | "violet" | "secondary" | "yellow"
Description
The initial value of the pin input.
Type
string
Description
If true
, the form control will be disabled.
Type
boolean
Default
false
Description
The border color when the input is invalid.
Type
"border" | BorderColor | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 320 more ... | [...]
Description
The border color when the input is focused.
Type
"border" | BorderColor | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | ... 320 more ... | [...]
Description
If true
, the form control will be invalid.
Type
boolean
Default
false
Description
If true
, the form control will be disabled.
Deprecated
Use disabled
instead.
Type
boolean
Default
false
Description
If true
, the form control will be invalid.
Deprecated
Use invalid
instead.
Type
boolean
Default
false
Description
If true
, the form control will be readonly.
Deprecated
Use readOnly
instead.
Type
boolean
Default
false
Description
If true
, the form control will be required.
Deprecated
Use required
instead.
Type
boolean
Default
false
Description
The number of inputs to display.
Type
number
Default
4
Description
If true
, focus will move automatically to the next input once filled.
Type
boolean
Default
true
Description
If true
, the input's value will be masked just like type=password
.
Type
boolean
Description
Function called on input change.
Type
(value: string) => void
Description
Function called when all inputs have valid values.
Type
(value: string) => void
Description
If true
, the pin input component signals to its fields that they should.
Type
boolean
Description
The placeholder for the pin input.
Type
string
Default
'○'
Description
If true
, the form control will be readonly.
Type
boolean
Default
false
Description
If true
, the form control will be required.
Type
boolean
Default
false
Description
The size of the PinInput.
Type
"xs" | "sm" | "md" | "lg"
Default
"md"
Description
The type of values the pin-input should allow.
Type
"number" | "alphanumeric"
Default
'number'
Description
The value of the pin input.
Type
string
Description
The variant of the PinInput.
Type
"filled" | "flushed" | "outline" | "unstyled"
Default
"outline"
Edit this page on GitHub