Book a 20-min call

Responsive Design in Bubble: Containers, Layout Modes and Sizing

How to build responsive pages in Bubble: the four container layout modes, fixed, fit and fill sizing, breakpoints, spacing, worked examples and how to test on real devices.

Harish Malhi - founder of GoodspeedHarish MalhiFounder of GoodspeedUpdated8 min read

Summarise with AI

How to Create a Responsive Design in Bubble – Goodspeed Studio blog

In Bubble, responsive design comes down to containers. Each container has a layout mode (column, row, align or fixed) and each element has a sizing method (fixed, fit or fill, with optional minimum and maximum limits). Nest containers, set spacing with gap and padding, then test at Bubble's breakpoints and on real devices.

This guide explains how the responsive engine works, shows two worked examples and lists the mistakes we see most often. Where we mention settings, they refer to Bubble's current responsive engine.

TL;DR: Responsive design in Bubble

  • Responsive design is how you build pages from the start, not a finishing step. One page should adapt to desktop, tablet and phone.
  • Every layout is built from containers. Pick the layout mode first, then the sizing of what is inside.
  • Use fixed, fit and fill sizing with minimum and maximum limits so text never collapses or stretches too far. This is the core skill for any web app.
  • Set spacing with gap and padding on containers rather than nudging individual elements.
  • Test in the editor's responsive preview and on real devices before launch.

What responsive design means in Bubble

Responsive design lets one layout adapt to any screen size, instead of you building a separate page for each device. Bubble's responsive engine is built into the visual editor and uses a grid-based layout system that adjusts how elements are arranged according to the size and orientation of the screen. The same concepts apply on web and on native mobile apps.

It is not just about shrinking things. Good responsive design means deciding what to resize, what to hide and what to rethink. A three-column desktop layout might become a single column on a phone, with a menu icon in place of the full navigation.

The responsive engine and legacy apps

Bubble introduced its current responsive engine in 2021. If you have an older app, some pages may still use the legacy engine, and Bubble recommends moving them to the current one. Older tutorials, including earlier versions of this one, use different terms for some settings. If the options you see do not match, check which engine the page uses.

Breakpoints

The editor has preset breakpoints that you can switch between to plan for different screen widths:

  • Desktop: 1200px
  • Default: 1080px
  • Tablet: 992px
  • Mobile landscape: 768px
  • Mobile: 320px

You can slide between widths in the responsive preview to see how the layout reflows, and use layout and sizing properties in conditionals when an element needs to behave differently at a given width.

Container layout modes

Every container uses one of four layout modes to arrange its children.

  • Column stacks children vertically. Widths adjust to fill the container, while heights fit each element's content.
  • Row places children side by side. Heights adjust to fill the container, while widths fit each element's content. Rows can wrap when there is not enough room.
  • Align positions each child in one of nine positions in the container.
  • Fixed places each child at an exact position, with no automatic layout logic. Use it sparingly, because it does not adapt on its own.

Most pages combine these. A common pattern is a column container that holds sections, with row containers nested inside for things like button groups.

Sizing: fixed, fit and fill

You set width and height in the Size section of the element's properties.

  • Fixed. A set size, in pixels or as a percentage of the parent. Use pixels for things that should never scale, such as icons and small buttons, and percentages for things that should scale with their container.
  • Fit. The element sizes itself to its content, which suits text and buttons. A fit container sizes itself to the combined size of what is inside.
  • Fill. The element expands to take the available space in its parent. If several siblings use fill, they share the space.

Fit and fill elements can also have a minimum and maximum width or height. These limits keep an element between two sizes as the screen changes, so a text block never gets too narrow to read or too wide to scan.

Spacing: gap, padding and margins

  • Gap sets a fixed distance between the children of a container. In a column it applies vertically, and in a wrapping row it can apply both ways.
  • Padding is space inside a container's border, between the edge and its children.
  • Margins are space outside an element's border.

Prefer gap and padding on the container over individual margins. It keeps spacing consistent and means you change it in one place.

Example 1: a responsive header

  1. Add a container to the top of the page and give it a row layout, with space between the children.
  2. Put the logo on the left with fit sizing, and a navigation container on the right, also a row with a gap.
  3. Set padding on the header container so content has room at the edges.
  4. For small screens, add a menu icon and a hidden menu container. Use a conditional on page width to hide the navigation links and show the icon, and use a custom state to open the menu.
  5. Check it at each breakpoint, from desktop to mobile.

Example 2: a sidebar layout

  1. Create a row container for the page body. Inside it put a sidebar container and a content container.
  2. Give the sidebar a fixed width and a column layout for its links. Give the content container fill sizing so it takes the remaining space.
  3. Add a minimum width to the content container so it never gets cramped.
  4. At phone widths, change the body to a column layout with a conditional, and either hide the sidebar or turn it into a slide-in panel.

Common mistakes

  • Using fixed layouts everywhere. They are the one mode that does not adapt, so they break on small screens.
  • Skipping minimum and maximum sizes. This is the usual cause of squashed text and stretched images.
  • Fixing spacing element by element. Use gap and padding on containers.
  • Designing desktop only and checking mobile at the end. Plan the phone layout from the start.
  • Not testing the legacy pages. Older pages may behave differently from new ones.

Native mobile apps

The responsive engine works the same way in native iOS and Android apps built in Bubble, but the elements differ: views instead of pages, vertical lists instead of repeating groups and sheets instead of popups. There are extra things to plan for, such as safe areas around notches and home indicators, different phone sizes, and rotation. A responsive web app is still a web app opened in a browser, which is not the same thing as a native app.

Testing your responsive design

  1. Responsive preview. Slide through the breakpoints in the editor.
  2. Real devices. Emulators catch most problems, but real phones show touch targets and scrolling problems.
  3. Content. Test long names, empty states and large lists, not only tidy sample data.
  4. Performance. Check load times on a mobile connection, and see our guide to workload units for keeping the app efficient.
  5. Browsers. Test in the main browsers your users have.

Responsive design and SEO

A single responsive page with one URL is simpler for search engines than separate mobile and desktop sites, and Google indexes the mobile version of a page first, so the phone layout needs the same content as desktop. Page speed and readable text on small screens matter too. See our Bubble SEO guide for the rest. If search matters a lot to your site, consider whether your marketing pages belong in a dedicated marketing site.

Get help with your Bubble build

We build responsive web and native apps on Bubble. See our Bubble developers page or read our guide to migrating from Bubble to code if you are weighing options. For the cost side, see Bubble's pricing.

Conclusion

Responsive design in Bubble is a small set of ideas applied consistently: pick a layout mode for each container, size elements with fixed, fit or fill, set limits, use gap and padding for spacing and test at every breakpoint. Get those habits in early and your app works on any screen.

Need a hand? Contact Goodspeed, a team of expert Bubble developers.

Frequently asked questions

Is responsive design only important for mobile devices?
No. It also covers large monitors, laptops and tablets in both orientations. The aim is for one design that works across the whole range of screen sizes.
What are the layout modes in Bubble?
Containers use column, row, align or fixed layouts. Column stacks children vertically, row places them side by side, align puts them in one of nine positions and fixed places them at exact positions.
What is the difference between fixed, fit and fill sizing?
Fixed keeps a set size in pixels or as a percentage of the parent. Fit sizes an element to its content. Fill stretches it to take the available space. Fit and fill can have minimum and maximum limits.
Do I need separate pages for mobile in Bubble?
No. Bubble is designed so one page adapts to every screen size using containers, sizing and conditionals. Native iOS and Android apps use views built in the same editor.

About the Author

Harish Malhi is the founder of Goodspeed. He left Google in 2019 to build his own product, and started Goodspeed to give other founders the same head start. Today the studio designs and builds websites and the whole digital experience around them for funded tech companies, at the moments that matter: a raise, a launch, a press cycle. Goodspeed is a Framer Enterprise Partner, was Bubble’s Agency of the Year in 2024-2025, and has shipped 300+ products, including launch pages for an NVIDIA-backed AI lab and a Webby-nominated site for a Boeing-backed aviation company. It holds a 5.0 rating from 47 reviews on Clutch.

Ready to see your go-live date?

Book a 30-minute call. We’ll scope it with you and give you a date.

Browse all articles