Skip to main content

Interface: StandardInputProperties

Defined in: shared/types/componentProps.ts:258

Input field properties combining form and interaction patterns.

Remarksโ€‹

This interface provides a standard template for input components with consistent typing and behavior patterns.

Extendsโ€‹

Propertiesโ€‹

children?โ€‹

readonly optional children: ReactNode

Defined in: shared/types/componentProps.ts:33

Component content (text, elements, or other components)

Inherited fromโ€‹

CoreComponentProperties.children


className?โ€‹

readonly optional className: string

Defined in: shared/types/componentProps.ts:35

Additional CSS classes for styling customization

Inherited fromโ€‹

CoreComponentProperties.className


disabled?โ€‹

readonly optional disabled: boolean

Defined in: shared/types/componentProps.ts:37

Whether the component is disabled and non-interactive

Inherited fromโ€‹

CoreComponentProperties.disabled


aria-describedby?โ€‹

readonly optional aria-describedby: string

Defined in: shared/types/componentProps.ts:49

ARIA described-by reference for additional descriptions

Inherited fromโ€‹

AccessibilityProperties.aria-describedby


aria-label?โ€‹

readonly optional aria-label: string

Defined in: shared/types/componentProps.ts:51

ARIA label for screen readers

Inherited fromโ€‹

AccessibilityProperties.aria-label


aria-labelledby?โ€‹

readonly optional aria-labelledby: string

Defined in: shared/types/componentProps.ts:53

ARIA labelledby reference for complex labeling

Inherited fromโ€‹

AccessibilityProperties.aria-labelledby


role?โ€‹

readonly optional role: string

Defined in: shared/types/componentProps.ts:55

Role attribute for semantic meaning

Inherited fromโ€‹

AccessibilityProperties.role


tabIndex?โ€‹

readonly optional tabIndex: number

Defined in: shared/types/componentProps.ts:57

Tab index for keyboard navigation

Inherited fromโ€‹

AccessibilityProperties.tabIndex


error?โ€‹

readonly optional error: string

Defined in: shared/types/componentProps.ts:121

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message to display when validation fails

Inherited fromโ€‹

FormFieldBaseProperties.error


helpText?โ€‹

readonly optional helpText: string

Defined in: shared/types/componentProps.ts:123

Help text to provide guidance to users

Inherited fromโ€‹

FormFieldBaseProperties.helpText


idโ€‹

readonly id: string

Defined in: shared/types/componentProps.ts:125

Unique identifier for the field (required for accessibility)

Inherited fromโ€‹

FormFieldBaseProperties.id


labelโ€‹

readonly label: string

Defined in: shared/types/componentProps.ts:127

Label text to display for the field

Inherited fromโ€‹

FormFieldBaseProperties.label


required?โ€‹

readonly optional required: boolean

Defined in: shared/types/componentProps.ts:129

Whether the field is required for form submission

Inherited fromโ€‹

FormFieldBaseProperties.required


onBlur?โ€‹

readonly optional onBlur: BlurHandler<HTMLInputElement>

Defined in: shared/types/componentProps.ts:263

Blur event handler


onChangeโ€‹

readonly onChange: ChangeHandler

Defined in: shared/types/componentProps.ts:265

Value change handler


onFocus?โ€‹

readonly optional onFocus: FocusHandler<HTMLInputElement>

Defined in: shared/types/componentProps.ts:267

Focus event handler


placeholder?โ€‹

readonly optional placeholder: string

Defined in: shared/types/componentProps.ts:269

Placeholder text for empty inputs


type?โ€‹

readonly optional type: "number" | "text" | "url" | "email" | "password"

Defined in: shared/types/componentProps.ts:271

Input type for different input behaviors


valueโ€‹

readonly value: string

Defined in: shared/types/componentProps.ts:273

Current input value