Use this component for toggle-style selection between discrete options. It supports keyboard interaction, styling, and controlled or uncontrolled usage.
Use selected to manage the selected state from the parent.
Use defaultValue to define an initial active button in uncontrolled mode. Don't use it along with the value prop.
Use compact to create a compact variant.
Control the selected value externally with the value prop.
Distribute the button widths evenly across the container.