Penpot 2.0 CSS Grid primarily makes prototyping more structured: complex screens can communicate the relationships between rows, columns and areas more clearly to frontend developers. It does not deliver a ready-made frontend; responsive behavior, semantics, component boundaries and reading order remain technical decisions.

In brief: CSS Grid in Penpot 2.0

The added value lies in a more manageable handoff: the prototype shows the intended spatial hierarchy, while the team explicitly records what still requires engineering and alignment.

  • Use a two-dimensional layout only where elements are simultaneously determined by both rows and columns; for linear sequences, a simpler pattern is often more appropriate.
  • Make clear which elements share space, which blocks are wider or more dominant, and which screen sections function as separate areas, so developers have less to interpret.
  • Treat mobile and desktop views as two design intentions, not as a complete description of every screen width in between; agree on rearrangement, space distribution and content order in advance.
  • Link spacing to shared design values rather than individual pixels, so design and frontend can manage the same distances centrally.
  • Have developers assess the visual structure for semantic HTML, accessibility and maintainability; an accurate prototype does not replace that judgement.

What does CSS Grid in Penpot 2.0 actually change about prototyping?

CSS Grid makes it possible to describe a complex screen as a coherent grid, rather than as separate blocks on a canvas. This is useful when both rows and columns matter at the same time, such as in a dashboard or a form with fields, side panels and summary blocks. For a simple row of buttons, that structure is usually unnecessary; Flex Layout is often a better fit. The prototype therefore mainly makes layout relationships more explicit.

Assess for each element which relationship the design actually establishes. If a card has a fixed position relative to multiple columns and rows, a grid structure can communicate that intent. If a sequence of elements is primarily placed next to or below one another, a two-dimensional grid adds little and creates unnecessary layout complexity during handoff. This distinction prevents developers from first having to translate a visual position back into a more suitable layout method.

The boundary lies in responsive behavior. Columns can rearrange with CSS Grid and media queries, but the meaningful source-code order must be preserved.[1] A prototype that shows a different screen arrangement therefore also requires a check of the reading order. The visible position of a panel must not be the only information on which the frontend is built.

Which layout information can frontend developers use directly?

How a grid prototype communicates structural information to frontend developers.
How a grid prototype communicates structural information to frontend developers.

In a dashboard, for example, a wide summary card can span multiple columns while a side panel retains its own area. A Penpot 2.0 CSS Grid prototype makes such proportions and dependencies visible. The value is not in a ready-made implementation, but in concrete decisions about space, dominance and cohesion within the same grid.

  • Spans make proportions explicit. With grid-column: span, an element can span multiple grid cells. This lets a developer see that an element is not intended as a separate, absolutely positioned surface, but occupies a wider position within the grid structure. The required width relationship therefore does not have to be inferred solely from visual placement.
  • Named grid areas define the screen layout. Names for grid areas indicate which parts should function as distinct areas in the layout. This makes the structural hierarchy of the screen readable: elements are not merely placed next to or below each other, but are given a recognizable place in the grid.
  • The handoff shifts from redrawing to evaluation. Spans and grid areas give developers a starting point for assessing the intended structure before further developing the frontend. Responsive behavior remains a separate topic for discussion.

Why are mobile and desktop boards not a complete responsive specification?

A layout with three columns on desktop and one column on mobile still leaves much open: when does the grid change, which elements may shrink, and what happens to a side panel? Mobile and desktop boards show two static end states, but do not automatically describe the behavior in between.

Breakpoints therefore remain frontend agreements. The same applies to fluid reflow: the space elements may occupy or give up between the displayed sizes. Without those agreements, two developers can correctly recreate the same mobile and desktop views yet still deliver a different layout in between. The open choices then only become apparent during component development, when changes are more difficult than in a technical review of the prototype.

Use the separate boards as evidence of design intent, not as coverage for every screen width. For each relevant grid, document what happens when space decreases: does an element remain next to another element, move elsewhere, or change order? CSS techniques for responsive reflow aim to allow columns to rearrange without losing the meaningful reading order.[1] The visual transition and content order must therefore be discussed separately in advance.

When does a grid prototype become a reusable implementation foundation?

The same spacing only gains meaning across multiple screens when it refers to the same named value. Therefore, use shared spacing values for gaps and distances in design and frontend.

  • Link spacing to shared tokens. Do not merely note that there is space between two grid columns; document which shared value that space represents. The frontend can then link that value to a variable. As a result, a change to the distance refers to one managed decision rather than separate values scattered across screens and components. CSS Grid supports explicit gaps between rows and columns; the standard describes that layout structure, not how a team manages such values.[2] This token link makes the difference between an accurate one-off prototype and a pattern that remains recognizable in subsequent screens. Separate hardcoded pixel values can make a screen visually correct, but they fragment the origin of spacing and later adjustments.

Does a CSS Grid prototype replace frontend judgement?

No. A CSS Grid prototype can communicate the intended spatial structure of a screen more concretely, but it does not prescribe how that structure should be built with semantic HTML, CSS and components. Nor does the prototype independently decide which implementation is the best fit when available space, content or interaction changes.

A credible handoff therefore makes an explicit distinction. Record which layout intent follows from the design and separately note which technical choices still need to be assessed, such as the semantic structure, component boundaries and behavior between the displayed screen sizes. This helps the team understand which information can serve as a starting point and which issues still require a decision before frontend implementation.

The handoff becomes stronger when both structure and values are traceable

When the space between two columns changes, it must be clear whether that distance applies only to this screen or represents a shared design value. That traceability marks the boundary between a visually accurate grid and a useful implementation foundation. A developer must not only be able to see which columns, areas and gaps the design uses, but also where the spacing values come from and how they recur in frontend variables. The CSS Grid standard describes grid structure and item placement, but does not prescribe naming or management of design values.[2]

Therefore, determine before implementation which grid structure can be transferred and which spacing values are centrally managed. When a gap in the prototype represents a shared token, the frontend can use that same value centrally. If that value changes later, the relationship between design and code remains traceable. Without that link, distances remain individual pixels and a change requires separate adjustments.

Assessing a prototype flow for its connection to the frontend

Would you like to discuss the connection between your CSS Grid prototypes and frontend implementation? Shazzoo BV provides prototyping and web application development for teams that want to clarify in advance which layout decisions are fixed in the prototype and which points still require a decision during implementation. This allows open handoff agreements to be discussed before they lead to unnecessary frontend rework.

Sources

  1. w3.org
  2. w3.org