Right now this uses a hacky pair of buttons that fake a selected state by setting action="primary" on the selected one. We should instead use ToggleButtons, now that that component exists.
In the future we may want to develop a ButtonGroup component for this use case, but for now a pair of ToggleButtons would work well.