Interface: StandardButtonProperties
Defined in: shared/types/componentProps.ts:317
Button-specific properties combining common patterns.
Remarksโ
This interface combines the most common props needed for button components, serving as a standard template.
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
fullWidth?โ
readonlyoptionalfullWidth:boolean
Defined in: shared/types/componentProps.ts:97
Whether component should take full width of its container
Inherited fromโ
size?โ
readonlyoptionalsize:ComponentSize
Defined in: shared/types/componentProps.ts:99
Size variant for the component
Inherited fromโ
style?โ
readonlyoptionalstyle:CSSProperties
Defined in: shared/types/componentProps.ts:101
Inline styles to apply (use sparingly)
Inherited fromโ
variant?โ
readonlyoptionalvariant:ComponentVariant
Defined in: shared/types/componentProps.ts:103
Visual variant for component theming
Inherited fromโ
active?โ
readonlyoptionalactive:boolean
Defined in: shared/types/componentProps.ts:117
Whether the component is in an active state
Inherited fromโ
loading?โ
readonlyoptionalloading:boolean
Defined in: shared/types/componentProps.ts:119
Whether the component is in a loading state
Inherited fromโ
selected?โ
readonlyoptionalselected:boolean
Defined in: shared/types/componentProps.ts:121
Whether the component is selected
Inherited fromโ
icon?โ
readonlyoptionalicon:ReactNode
Defined in: shared/types/componentProps.ts:159
Icon element to display
Inherited fromโ
iconColor?โ
readonlyoptionaliconColor:string
Defined in: shared/types/componentProps.ts:161
Color theme for the icon
Inherited fromโ
iconOnly?โ
readonlyoptionaliconOnly:boolean
Defined in: shared/types/componentProps.ts:163
Whether to show only the icon (hide text content)
Inherited fromโ
iconPosition?โ
readonlyoptionaliconPosition:"left"|"right"
Defined in: shared/types/componentProps.ts:165
Position of the icon relative to content
Inherited fromโ
onClick?โ
readonlyoptionalonClick:ClickHandler
Defined in: shared/types/componentProps.ts:324
Click handler for button interactions
title?โ
readonlyoptionaltitle:string
Defined in: shared/types/componentProps.ts:326
Tooltip text for hover states
type?โ
readonlyoptionaltype:"button"|"reset"|"submit"
Defined in: shared/types/componentProps.ts:328
HTML button type