Skip to main content

Interface: StandardCheckableProperties

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

Checkbox/radio input properties.

Remarksโ€‹

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

Hierarchyโ€‹

View Summary

Extendsโ€‹

Propertiesโ€‹

children?โ€‹

readonly optional children?: ReactNode;

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

Component content (text, elements, or other components)

Inherited fromโ€‹

CoreComponentProperties.children


className?โ€‹

readonly optional className?: string;

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

Additional CSS classes for styling customization

Inherited fromโ€‹

CoreComponentProperties.className


disabled?โ€‹

readonly optional disabled?: boolean;

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

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:89

ARIA described-by reference for additional descriptions

Inherited fromโ€‹

AccessibilityProperties.aria-describedby


aria-disabled?โ€‹

readonly optional aria-disabled?: boolean;

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

ARIA disabled state for interactive controls that are visually disabled

Inherited fromโ€‹

AccessibilityProperties.aria-disabled


aria-label?โ€‹

readonly optional aria-label?: string;

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

ARIA label for screen readers

Inherited fromโ€‹

AccessibilityProperties.aria-label


aria-labelledby?โ€‹

readonly optional aria-labelledby?: string;

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

ARIA labelledby reference for complex labeling

Inherited fromโ€‹

AccessibilityProperties.aria-labelledby


aria-level?โ€‹

readonly optional aria-level?: number;

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

ARIA heading level for elements using role="heading"

Inherited fromโ€‹

AccessibilityProperties.aria-level


role?โ€‹

readonly optional role?: string;

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

Role attribute for semantic meaning

Inherited fromโ€‹

AccessibilityProperties.role


tabIndex?โ€‹

readonly optional tabIndex?: number;

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

Tab index for keyboard navigation

Inherited fromโ€‹

AccessibilityProperties.tabIndex


checkedโ€‹

readonly checked: boolean;

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

Whether the input is checked


idโ€‹

readonly id: string;

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

Unique identifier for the input


labelโ€‹

readonly label: string;

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

Label text for the input


name?โ€‹

readonly optional name?: string;

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

Input name for form grouping


onChangeโ€‹

readonly onChange: (checked: boolean) => void;

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

Check state change handler

Parametersโ€‹

checkedโ€‹

boolean

Returnsโ€‹

void


value?โ€‹

readonly optional value?: string;

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

Input value attribute