t/DEVELOPER &
PROBLEM SOLVER
LET’S TALK
All field notes
INTERFACE ENGINEERING2 min read

Design for the space you actually have.

Why reusable components need to respond to their containers, and how that changes responsive thinking.

01 /

The viewport is only part of the story

A project preview can occupy half a desktop page, the full width of a phone, or a dialog with a completely different aspect ratio. A screen-wide breakpoint does not always describe the space available to that preview.

Container queries allow a component to respond to its own allocated space. That makes a reusable element easier to place without adding exceptions for every parent layout.

02 /

Keep proportions connected

The illustrated project previews in this portfolio use an inline-size container and container-relative units. Text, device frames, and visual details can scale together as the card changes size.

This technique works particularly well for a composed illustration. Interface text that visitors need to read should still use sensible minimum sizes; scaling an entire real interface down is rarely a substitute for reorganizing it.

03 /

Test what changes, not just what fits

A responsive check should consider reading order, focus visibility, touch targets, and the relationship between a control and the thing it changes. A page can fit inside a narrow window and still be difficult to use.

Start with a useful document order, let the layout adapt around it, and reserve animation for transitions that help the visitor understand what happened.

UP NEXT

Good interactions include everyone.