WarUI

Responsive columns with container breakpoints

GRID-A25-F17P1baselinePlanned

Columns can declare the minimum container width at which they appear, or priority-based hiding. The grid responds to its own width (container-query style), not the viewport, which also works in sidebars and split views.

Planned. This page shows the specification from issue #205. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A resizable container with a 10-column grid and priorities set.

Expected behavior

Columns hide in priority order as the width shrinks. In details mode, each row gets an expand control showing the hidden fields as label-value pairs.

Planned API surface

column.minContainerWidth optioncolumn.responsivePriority optionresponsiveOverflow option ('hide'|'details')columnsvisibilitychange event

Acceptance criteria

  • Visibility is computed from the grid container width, not the viewport (pending)
  • Columns hide strictly in ascending priority, and ties break by order (pending)
  • User-forced visibility (column menu) overrides responsive rules until reset (pending)
  • The columnsvisibilitychange event lists added and removed columns (pending)
  • Hysteresis prevents flicker near a breakpoint (pending)