0Pricing
Jetpack Compose Academy · Lesson

A FlowRow That Wraps Chips

Build a real wrapping layout from scratch.

What a Flow Row Does

A flow row places children left to right, then wraps to a new line when it runs out of width. Perfect for tag chips and filters. 🏷️

Start From the Layout Composable

You already know the tool: the Layout composable. The wrapping logic lives entirely in how you measure and place children.

Layout(content, modifier) { measurables, constraints ->
}

All lessons in this course

  1. The Measure & Place Model
  2. Writing a Layout Composable
  3. Constraints & Intrinsic Measurements
  4. A FlowRow That Wraps Chips
← Back to Jetpack Compose Academy