Skip to main content

Interface: StandardCheckableProperties

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

Checkbox/radio input properties.

Remarksโ€‹

This interface provides a standard template for boolean input components like checkboxes and radio buttons.

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


checkedโ€‹

readonly checked: boolean

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

Whether the input is checked


idโ€‹

readonly id: string

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

Unique identifier for the input


labelโ€‹

readonly label: string

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

Label text for the input


name?โ€‹

readonly optional name: string

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

Input name for form grouping


onChange()โ€‹

readonly onChange: (checked: boolean) => void

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

Check state change handler

Parametersโ€‹

checkedโ€‹

boolean

Returnsโ€‹

void


value?โ€‹

readonly optional value: string

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

Input value attribute