Group control

Outside the canon

The list toolbar's Group by (2026-10-30, Transactions: "this order had a payment, a refund and a credit applied"): a menu of the ways the rows can gather under a heading, between Columns and Sort (Toolbar group_control). The sort orders the groups and each group reads in the order things happened; the heading is a Table group row on a desktop and a StackedListGroup on a phone. From the workshop's "Grouped Entries", whose grouping axis is a toggle in the toolbar. Shaped like Sort without the split: one 32px outlined trigger at the toolbar's weight, the chosen entry marked with a navy check. The trigger names the grouping while one is on ("Order") and says "Group" while none is, from 2xl only — set when Download and Columns still had labels and the four cost the row count its place at 1024 and from 1280 to 1440; those two are icon-only since 2026-11-04, and Group keeps its caret, so below 2xl it still reads as a menu.

App: Ui::GroupControlComponent (suggested) on the `popover` controller, each entry a link carrying `?group=order`

No grouping

#none

The layers mark, "Group" from xl, and the caret. Pick Order to see the trigger name it.

Grouped by order

#order

The trigger names the grouping on ("Order"), as Sort names its sort. Below xl, the mark and the caret alone.

Menu open

#open

The chosen entry on surface-warm with a navy check; the others stone, a surface-muted wash on hover.

Props

NameTypeDefaultNotes
idstring—Required. The popover id
optionsGroupOption[]—Required. The menu entries, no grouping first
options[].valuestring—Matched against value
options[].labelstring—Menu entry text ("Order", "No grouping")
options[].control_labelstring—On the trigger while this grouping is on ("Order"). Omit for the no-grouping entry
options[].iconstring—Font Awesome name for the menu entry, rendered light
valuestring—Required. The grouping on now
onChange(value) => void—Required. Mock behaviour; in the app each entry is a link
default_openbooleanfalseLookbook only: start with the menu open
classNamestring—On the wrapper <div>