Input
type Input = { allowAutofillExtensions?: boolean; autoFocus?: boolean; autoSelect?: boolean; defaultValue?: string; disabled?: boolean; gutterSize?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'; id?: string; inputType?: 'number' | 'email' | 'text' | 'password' | 'tel' | 'url'; key?: string; name: string; pattern?: string; pill?: boolean; placeholder?: string; required?: boolean; size?: ControlSize; type: 'Input'; variant?: 'soft' | 'outline';};
Properties
Section titled “Properties”allowAutofillExtensions?
Section titled “allowAutofillExtensions?”optional allowAutofillExtensions: boolean;
autoFocus?
Section titled “autoFocus?”optional autoFocus: boolean;
autoSelect?
Section titled “autoSelect?”optional autoSelect: boolean;
defaultValue?
Section titled “defaultValue?”optional defaultValue: string;
disabled?
Section titled “disabled?”optional disabled: boolean;
gutterSize?
Section titled “gutterSize?”optional gutterSize: "2xs" | "xs" | "sm" | "md" | "lg" | "xl";
optional id: string;
inputType?
Section titled “inputType?”optional inputType: "number" | "email" | "text" | "password" | "tel" | "url";
optional key: string;
name: string;
pattern?
Section titled “pattern?”optional pattern: string;
optional pill: boolean;
placeholder?
Section titled “placeholder?”optional placeholder: string;
required?
Section titled “required?”optional required: boolean;
optional size: ControlSize;
type: 'Input';
variant?
Section titled “variant?”optional variant: "soft" | "outline";