fndn/ui

Components

Button Group

Beta

Buttons joined into one control, such as a split button or a toolbar segment.

Details

Buttons joined into one control: a split button, a set of related actions, a toolbar segment. The children are real Buttons (or Toggles, or a Menu's trigger); the group only joins them: the inner corners go square, neighbours share one hairline, a focused button rises above its neighbours. Horizontal or vertical. JSON specs can list the buttons as items. Not a single choice: that is the segmented control.