PinInput
PinInput
is a component used to capture pin codes or OTP (One-Time Password) inputs.
Theming
The PinInput
is a multi part component.
PinInput
inherits the style from Input.
If you want to change the style of the component, please check here.
export const PinInput: ComponentMultiStyle<"PinInput"> = mergeMultiStyle(Input,{baseStyle: {container: {gap: "sm",},field: {textAlign: "center",},},sizes: {xs: {field: {boxSize: "6",fontSize: "xs",rounded: "sm",},},sm: {field: {boxSize: "8",fontSize: "sm",rounded: "md",},},md: {field: {boxSize: "10",fontSize: "md",rounded: "md",},},lg: {field: {boxSize: "12",fontSize: "lg",rounded: "md",},},},variants: {unstyled: {field: {h: "auto",},},},},)({ omit: ["addon", "sizes"] })
Edit this page on GitHub