---
title: "Item Flow, Part 1: A new unified concept for layout"
description: "Item Flow was a proposed unified CSS property system (shorthand `item-flow` with longhands `item-direction`, `item-wrap`, `item-pack`, `item-slack`) that would replace `flex-flow` and `grid-auto-flow` across Flexbox, Grid and masonry layouts."
url: "https://swe.quest/articles/item-flow-part-1-a-new-unified-concept-for-layout-1d0cd96bcbdcf802"
canonical: "https://webkit.org/blog/16587/item-flow-part-1-a-new-unified-concept-for-layout/"
source: "WebKit"
published: "2025-03-28"
difficulty: "medium"
kind: "Opinion"
reading_minutes: 12
tags: ["css","frontend","browsers"]
---

# Item Flow, Part 1: A new unified concept for layout

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2025-03-28, 12 min read, Opinion. Original: [https://webkit.org/blog/16587/item-flow-part-1-a-new-unified-concept-for-layout/](https://webkit.org/blog/16587/item-flow-part-1-a-new-unified-concept-for-layout/)

## Summary

Item Flow was a proposed unified CSS property system (shorthand \`item-flow\` with longhands \`item-direction\`, \`item-wrap\`, \`item-pack\`, \`item-slack\`) that would replace \`flex-flow\` and \`grid-auto-flow\` across Flexbox, Grid and masonry layouts. It would enable new capabilities such as \`nowrap\` for Grid, dense and balanced packing for Flexbox, a slack threshold for cramming items, and \`item-pack: collapse\` as the masonry trigger. A January 2026 update notes the CSSWG abandoned Item Flow in favor of CSS Grid Lanes for masonry, though balanced wrapping and similar ideas are still being discussed for Flexbox and Grid.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [CSS](https://swe.quest/tags/css.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)

## Prerequisites

- CSS Flexbox ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))
- CSS Grid ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))

## Keywords

Item Flow, CSS Grid, Flexbox, masonry layout, CSS Working Group, WebKit, Grid Lanes

## Related posts

- [Item Flow – Part 2: next steps for Masonry](https://swe.quest/articles/item-flow-part-2-next-steps-for-masonry-6b3129fc4dea058d.md): WebKit · 2025-08-08 · Medium · 10 min read · CSS, Frontend, Browsers
  WebKit argues that masonry-style layouts should be treated as a variant of CSS Grid.
- [Introducing CSS Grid Lanes](https://swe.quest/articles/introducing-css-grid-lanes-2d3c264610a9740d.md): WebKit · 2025-12-19 · Medium · 8 min read · CSS, Browsers, Frontend, Accessibility
  CSS Grid Lanes (\`display: grid-lanes\`) brings native masonry layouts to the web, available in Safari Technology Preview 234.
- [Help us invent CSS Grid Level 3, aka “Masonry” layout](https://swe.quest/articles/help-us-invent-css-grid-level-3-aka-masonry-layout-ed399042099ed6d0.md): WebKit · 2024-04-19 · Medium · 19 min read · CSS, Browsers, Frontend
  CSS Grid Level 3, often called masonry or waterfall layout, adds \`grid-template-rows: masonry\` so content packs into columns without rows, with no JavaScript and no cropping.
- [When will CSS Grid Lanes arrive? How long until we can use it?](https://swe.quest/articles/when-will-css-grid-lanes-arrive-how-long-until-we-can-use-it-0440c8888ab4100c.md): WebKit · 2026-01-22 · Medium · 12 min read · CSS, Browsers, Frontend
  CSS Grid Lanes, the masonry-style layout from CSS Grid Level 3, ships with its finalized \`display: grid-lanes\` syntax in Safari Technology Preview.
- [Help us choose the final syntax for Masonry in CSS](https://swe.quest/articles/help-us-choose-the-final-syntax-for-masonry-in-css-49421042d3732dc4.md): WebKit · 2024-10-21 · Medium · 31 min read · CSS, Browsers, Language design
  WebKit argues that masonry-style packed layout should be specified as part of CSS Grid ("Just Use Grid", e.g. grid-template-rows: collapse) rather than as a separate display: masonry mode with its own masonry-\* properties, as the Chrome team and Rachel Andrew propose.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
