Round image of the author with a thin blue line around the image

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.

  1. Add a Layouter to your section.

  2. Change the Layouter display type from Mosaic to Bricks.

  3. Center the Layouter in the section.

  4. Set the Layouter width to 70%.

Image of the editor open with a Layouter selected on a black background. The cursor is hovering over the different display types available from the floating action bar to choose the bricks option.

Part 2: Add your text elements.

  1. Add your first text element into the first Layouter item.

  2. Align the text to the top and left.

  3. Set the background of the Layouter item to transparent.

  4. Set the width of the text element to 100%.

  5. 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.

  6. Delete the remaining items from the Layouter.

  7. With the Layouter selected, set the minimum height to None.

  8. Select the text item and also set the minimum height to None.

  9. Duplicate the text item and change the text to the next word–”I’m”.

  10. 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”).

Image of layouter with text being added. To the right the text item sizing option is being changed to max content.

Part 3: Add the buttons and remaining content.

  1. Duplicate the last item on the first line of the Layouter. It should appear on the second line.

  2. Add a button to the item. Make sure that from the Layers panel you remove the text from the item.

  3. Add the next text item, followed by the second button.

  4. Continue to duplicate items and adjust the text word-by-word until all of the content is in the Layouter.

Image of the layout with all of the content added including text, buttons and emojis. All items are contained in the layouter.

Part 4: Adjust spacing.

  1. Under Display in the Inspector panel, set the item alignment to center.

  2. 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.

Image of the editor with the layout centered and formatted. From the inspector panel, the cursor is adjusting the vertical margins.
Round image of the author with a thin blue line around the image

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.

Video tutorial about how to design responsive layouts using a Layouter on Editor X

VIDEO LIBRARY

Layouter

Learn how to design responsive layouts using a Layouter.

Blue background showing a layouter in the middle of it.

LESSONS & EXERCISES

Layouter

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

VIDEO LIBRARY

Title

Description

Watch Now

LESSONS & EXERCISES

Title

Description

Start Lesson

Ready to start creating?

Search icon
Home icon
LESSONS & EXERCISES
Arrow down icon
Editor X Essentials
Arrow down icon
Design & Layouting
Arrow down icon
Interactions & Effects
Arrow down icon
Elements & Components
Arrow down icon
Web Concepts
Arrow down icon
Content Management
Arrow down icon
Code & Dev
Arrow down icon
Collaboration
Arrow down icon
VIDEO TUTORIALS
Arrow down icon
External link icon
External link icon
ACADEMY MENU ▶
Search icon

Top searches

People are searching for

Video tutorial introducing the Editor X workspace with an overview of the responsive layouting and design tools.

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 introducing the Editor X workspace with an overview of the responsive layouting tools and design capabilities.

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.

Thumbnail indicating interactions. Orange background with a shaded orange container over it. In the middle of the container is a white logo.

LESSONS & EXERCISES

Hover Interactions

Design dynamic web experiences by adding a variety of interactions to any element on hover. Customize the interaction settings for every breakpoint, from transform adjustment to advanced design capabilities and timing control.