
Yanay Nir
Product Designer
,
Feb 21, 2022
Bricks Layouter and max content.
Learn how to create a layout that wraps and scales responsively according to the content inside. We’ll use a bricks Layouter and max content to achieve this design.
How to create a layout using a bricks Layouter and max content.
In this example we’ll use a bricks Layouter and set the sizing to max content in order to re-create a layout from one of our compositions.

About max content:
Max content is an advanced width sizing unit. Elements set to max content will get their size from the maximum width of their child element. Find out more here.

About Layouter bricks:
Use a Layouter with the Bricks display type to customize the width of each item so they will wrap perfectly at any breakpoint. Find out more here.

Part 1: Set up the Layouter.
Add a Layouter to your section.
Change the Layouter display type from Mosaic to Bricks.
Center the Layouter in the section.
Set the Layouter width to 70%.

Part 2: Add your text elements.
Add your first text element into the first Layouter item.
Align the text to the top and left.
Set the background of the Layouter item to transparent.
Set the width of the text element to 100%.
Select the Layouter item containing the text, and change its width from 40% to Max Content. Now the layouter item’s width is determined by the content inside.
Delete the remaining items from the Layouter.
With the Layouter selected, set the minimum height to None.
Select the text item and also set the minimum height to None.
Duplicate the text item and change the text to the next word–”I’m”.
Repeat step 9 with the remaining words on the top line of text until you reach the width of the layouter (ending with the word “an”).

Part 3: Add the buttons and remaining content.
Duplicate the last item on the first line of the Layouter. It should appear on the second line.
Add a button to the item. Make sure that from the Layers panel you remove the text from the item.
Add the next text item, followed by the second button.
Continue to duplicate items and adjust the text word-by-word until all of the content is in the Layouter.

Part 4: Adjust spacing.
Under Display in the Inspector panel, set the item alignment to center.
You can adjust the spacing between items by setting Horizontal margins. In this case the horizontal margin is at 1%.
By setting Vertical margins, we can change the spacing above and below the items–in this case 15px.
Result: As the screen size changes, the layout will wrap and scale across breakpoints based on the size of the text and icons we placed in the Layouter.


Yanay Nir
Product Designer
I'm an Editor X product designer. My team is responsible for all designed content including the Compositions, and almost everything suggested in the Add panel. We work closely with the Editor X product team, advising them on definitions and behaviors. I love design, spicy food, oldies music (like 60’s garage & psych) and the people I work with.
Did you find this lesson helpful?
Thank you for your feedback!
Related learning resources.

LESSONS & EXERCISES
Layouter
Get to know the Editor X Layouter, built on flexbox technology.

VIDEO LIBRARY
Title
Description
▶

LESSONS & EXERCISES
Title
Description
▶

Ready to start creating?

Top searches
People are searching for
VIDEO LIBRARY
Introducing Editor X
Discover the Editor X workspace. Get an introduction to your advanced layouting tools and an overview of responsive web design features like breakpoints, flexbox and CSS grid.
VIDEO LIBRARY
Getting Started
Learn the basics of creating a site on Editor X. Get a step by step walkthrough covering the key features and capabilities.