Skip to content

Responsive behavior

Responsive design is one page with a clear meaning at more than one width. It is not a set of unrelated desktop and mobile pictures.

The same two controls change from a row at 1440 to a column at 375 inside hero-actions
Read top to bottom: a row becomes a column, while names and the meaningful parent stay the same. This reflow needs no structural transformation. A changed parent or genuinely different structure must be declared separately. Open full size.

The visual introduction shows why these decisions matter to the team.

Give each prepared root the same page and state, changing only the context width:

home [page=home] [bp=1440] [view=default]
home [page=home] [bp=375] [view=default]

Choose widths that the team will actually implement. A screenshot width is not automatically a product breakpoint.

The following may change when the available space changes:

  • size and spacing;
  • number of columns;
  • order inside the same meaningful parent;
  • visibility of optional content;
  • a declared presentation, such as table to disclosure list.

The page meaning, content identity, actions, and reading order must remain clear.

A narrow layout may show fewer items at once, but it must not silently delete records, alter prices, or use a different meaning. Record pagination, filtering, or a separate request as product behavior.

Check widths between the prepared examples, not just the examples themselves. Text, cards, tables, fixed controls, and focus indicators need a defined behavior at those widths too. Prefer content-driven sizing and fluid layout over a collection of device-specific copies.

When the structure changes, name the source and destination and state what is preserved:

  • records and content;
  • actions and field relationships;
  • selection and open state;
  • reading and focus order.

Record this mapping in responsive.transformations[] as described in the transfer contract. A name such as table-mobile cannot explain what changes or what is preserved.

If the product supports RTL, localization, zoom, reduced motion, or long content, check those contexts as well. Visual mirroring must not break reading order, keyboard order, action targets, or accessible names.

The responsive part is ready when the team can tell what stays the same, what changes, at which condition, and what data or behavior is preserved. See variation axes for the structured reference.

Zoom and scroll to read details. Esc closes.