A versatile Button component for triggering actions and events.
Anatomy
<Button />Examples
Variants
Button components come with four built in variants, solid, outlined, muted, and clear.
Colors
The button component uses the color prop to allow for predefined and custom colors.
Sizes
To manage the size of the button component you can provide a default or custom size through the size prop.
States
Buttons can be given the disabled and readonly states.
Each variant has its own disabled styling.
High Contrast
The highContrast prop enables high contrast mode for better visibility. High contrast button styles are only available with the solid variant.