Learn how to ship impactful customer journeys with Builder

Announcing Visual Copilot - Figma to production in half the time

Builder.io logo
Contact Sales
Platform
Developers
Contact Sales

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

Popular Tutorials

>

How to Make a Grid Layout

How to Make a Grid Layout

Create a responsive grid layout with techniques that you can adapt to different designs.

Skill set: Basic

Area: UI only

Length: 5 minutes

  • Youʻll need a Builder account.
  • An evergreen browser; that is, a modern, up-to-date browser such as Google Chrome.

The usual way to create a grid is to use the Columns block, and this technique can be used most of the time.

To do so, in your page, click the Insert tab, and under Layout, drag the Columns block onto the work area.

Select the Columns block, and click the Edit button to adjust the number of columns.

In the Columns menu that opens, you can add or remove columns, set at which device the columns will stack, adjust the spacing between them, and set the direction when stacked.

To add more rows of columns to make your grid, next to the Edit button, click the down arrow. Select Duplicate. If you style the first block of columns before you duplicate, you won't have to adjust the styles in the subsequent rows of columns.

Here's a 2X3 grid. You can delete the Text blocks below each if you like.

For more information on using columns, visit Using Columns to Build Responsively.

To create a grid using the Builder Grid, you'll need to have an element, here a Box, with another Box inside it. This is because to use the Child Element styling, there must be children.

Drag a Box onto the blue work area. Then drag another box onto that Box.

Select the outer of the two boxes. You can check the Layers tab if you're not sure which you've selected.

With the outside/parent Box selected, go to the Style tab and under Layout and Child Layout, click the Grid icon. The tooltip on the Grid icon has the label "Wrap."

The Layers tab shows that the parent Box now has the Grid icon next to it.

Now drag a Box into that box, and with the outer Box selected, on the Style tab you can give it a background color to make it more obvious while following along.

Next, click the Edit button for the small Box and select Duplicate.

Duplicate the Box another four times so you have six small boxes in all.

Next, select the outer box and on the Style tab change the Justify Content setting to Space Between.

Your grid is now complete. Here's how it looks:

Because the Builder Grid is responsive, here's how it looks on a mobile device:

To learn more of what you can do in Builder, check out the other tutorials in the Video Library or build out a page with more sections and techniques in the Getting Started.

Was this article helpful?

Product

Visual CMS

Theme Studio for Shopify

Sign up

Login

Featured Integrations

React

Angular

Next.js

Gatsby

Get In Touch

Chat With Us

Twitter

Linkedin

Careers

© 2020 Builder.io, Inc.

Security

Privacy Policy

Terms of Service

Newsletter

Get the latest from Builder.io

By submitting, you agree to our Privacy Policy

Product

Platform Overview

Integrations

What's New

Open Source

Builder

Builder

Mitosis

Mitosis

Qwik

Qwik

Partytown

Partytown

Popular Guides

From Design to Code Guide

Composable Commerce Guide

Headless CMS Guide

Headless Commerce Guide

Composable DXP Guide

Design to Code

Resources

Blog

Knowledge Base

Community Forum

Partners

Templates

Success Stories

Showcase

Resource Center

Frameworks

React

React

Next

Next.js

Qwik

Qwik

Gatsby

Gatsby

Angular

Angular

Vue

Vue

Svelte

Svelte

Remix logo

Remix

Nuxt

Nuxt

Hydrogen

Hydrogen

See All

© 2024 Builder.io, Inc.

Security

Privacy Policy

SaaS Terms

Security & Compliance

Cookie Preferences

Gartner Cool Vendor 2024