Import
Basic Usage
Key Features
- Accessible button with proper ARIA attributes
- Supports disabled state
- Customizable focus behavior when disabled
- Can be rendered as a native button or custom element
Key Props
disabled
Type:boolean
Default: false
Whether the button should ignore user interaction.
focusableWhenDisabled
Type:boolean
Default: false
Whether the button should be focusable when disabled.
render
Type:(props: ButtonState) => React.ReactElement
Custom render function for complete control over rendering.
Styling
- Tab Title
- Tab Title