Segmented

Switch between 2–4 views of the same data.

Helper
segmented(label:) do |views|
  views.with_item(label, href: nil, pressed: false, value: nil)
end

Without href: the items are buttons that switch on the page and dispatch componeer--segmented:change with the chosen value (first row). With href: each item is a link and the current one gets aria-current (second row): use that when each view has its own URL. For filters use a multi-select; for record subsets with counts use tabs.