Interface: StandardInputProperties
Defined in: shared/types/componentProps.ts:340
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?โ
readonlyoptionalchildren:ReactNode
Defined in: shared/types/componentProps.ts:35
Component content (text, elements, or other components)
Inherited fromโ
CoreComponentProperties.children
className?โ
readonlyoptionalclassName:string
Defined in: shared/types/componentProps.ts:37
Additional CSS classes for styling customization
Inherited fromโ
CoreComponentProperties.className
disabled?โ
readonlyoptionaldisabled:boolean
Defined in: shared/types/componentProps.ts:39
Whether the component is disabled and non-interactive
Inherited fromโ
CoreComponentProperties.disabled
aria-describedby?โ
readonlyoptionalaria-describedby:string
Defined in: shared/types/componentProps.ts:53
ARIA described-by reference for additional descriptions
Inherited fromโ
AccessibilityProperties.aria-describedby
aria-label?โ
readonlyoptionalaria-label:string
Defined in: shared/types/componentProps.ts:55
ARIA label for screen readers
Inherited fromโ
AccessibilityProperties.aria-label
aria-labelledby?โ
readonlyoptionalaria-labelledby:string
Defined in: shared/types/componentProps.ts:57
ARIA labelledby reference for complex labeling
Inherited fromโ
AccessibilityProperties.aria-labelledby
aria-level?โ
readonlyoptionalaria-level:number
Defined in: shared/types/componentProps.ts:59
ARIA heading level for elements using role="heading"
Inherited fromโ
AccessibilityProperties.aria-level
role?โ
readonlyoptionalrole:string
Defined in: shared/types/componentProps.ts:61
Role attribute for semantic meaning
Inherited fromโ
tabIndex?โ
readonlyoptionaltabIndex:number
Defined in: shared/types/componentProps.ts:63
Tab index for keyboard navigation
Inherited fromโ
AccessibilityProperties.tabIndex
error?โ
readonlyoptionalerror:string
Defined in: shared/types/componentProps.ts:137
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message to display when validation fails
Inherited fromโ
helpText?โ
readonlyoptionalhelpText:string
Defined in: shared/types/componentProps.ts:139
Help text to provide guidance to users
Inherited fromโ
FormFieldBaseProperties.helpText
idโ
readonlyid:string
Defined in: shared/types/componentProps.ts:141
Unique identifier for the field (required for accessibility)
Inherited fromโ
labelโ
readonlylabel:string
Defined in: shared/types/componentProps.ts:143
Label text to display for the field
Inherited fromโ
required?โ
readonlyoptionalrequired:boolean
Defined in: shared/types/componentProps.ts:145
Whether the field is required for form submission
Inherited fromโ
FormFieldBaseProperties.required
onBlur?โ
readonlyoptionalonBlur:BlurHandler<HTMLInputElement>
Defined in: shared/types/componentProps.ts:345
Blur event handler
onChangeโ
readonlyonChange:ChangeHandler
Defined in: shared/types/componentProps.ts:347
Value change handler
onFocus?โ
readonlyoptionalonFocus:FocusHandler<HTMLInputElement>
Defined in: shared/types/componentProps.ts:349
Focus event handler
placeholder?โ
readonlyoptionalplaceholder:string
Defined in: shared/types/componentProps.ts:351
Placeholder text for empty inputs
type?โ
readonlyoptionaltype:"number"|"text"|"url"|"email"|"password"
Defined in: shared/types/componentProps.ts:353
Input type for different input behaviors
valueโ
readonlyvalue:string
Defined in: shared/types/componentProps.ts:355
Current input value