Context
Reusable dashboard components currently respond mostly to viewport width.
Cards, tables, and stat groups also need to adapt when placed in narrow panels
within a wide desktop viewport.
Scope
- Define named container utilities for inline-size containment.
- Add documented component breakpoints for compact, standard, and wide containers.
- Demonstrate Card, StatGroup, toolbar, and table-toolbar adaptation in the gallery.
- Provide graceful fallback behavior for unsupported or uncontained usage.
Acceptance criteria
- Components respond to their parent container rather than only viewport media queries.
- Container names avoid collisions when components are nested.
- Layout changes do not alter document reading order.
- Examples cover narrow sidebar, half-width panel, and full-width content placement.
- Visual tests verify representative container widths in both themes.
Out of scope
- Replacing every existing responsive utility.
- JavaScript ResizeObserver-based layout switching.
Context
Reusable dashboard components currently respond mostly to viewport width.
Cards, tables, and stat groups also need to adapt when placed in narrow panels
within a wide desktop viewport.
Scope
Acceptance criteria
Out of scope