Group control
Outside the canonThe 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
#noneThe layers mark, "Group" from xl, and the caret. Pick Order to see the trigger name it.
Grouped by order
#orderThe trigger names the grouping on ("Order"), as Sort names its sort. Below xl, the mark and the caret alone.
Menu open
#openThe chosen entry on surface-warm with a navy check; the others stone, a surface-muted wash on hover.
Props
| Name | Type | Default | Notes |
|---|---|---|---|
| id | string | — | Required. The popover id |
| options | GroupOption[] | — | Required. The menu entries, no grouping first |
| options[].value | string | — | Matched against value |
| options[].label | string | — | Menu entry text ("Order", "No grouping") |
| options[].control_label | string | — | On the trigger while this grouping is on ("Order"). Omit for the no-grouping entry |
| options[].icon | string | — | Font Awesome name for the menu entry, rendered light |
| value | string | — | Required. The grouping on now |
| onChange | (value) => void | — | Required. Mock behaviour; in the app each entry is a link |
| default_open | boolean | false | Lookbook only: start with the menu open |
| className | string | — | On the wrapper <div> |