Breakpoints
A breakpoint is the screen width at which your app switches from one layout to another. MyAppBuilder uses three breakpoints, and every responsive setting in the editor refers to one of them.
A breakpoint is the screen width at which your app switches from one layout to another. MyAppBuilder uses three breakpoints, and every responsive setting in the editor refers to one of them.
The three breakpoints
| Breakpoint | Applies when the app is… | Typical devices |
|---|---|---|
| Mobile | 639 px wide or narrower | Phones, small phones in landscape |
| Tablet | between 640 px and 1023 px wide | Tablets, small laptops, a narrow browser window |
| Desktop | 1024 px wide or wider | Laptops, desktop monitors |
The width that counts is the width of the app itself, not the whole screen. If a visitor opens the app in a narrow browser window on a large monitor, they get the tablet or mobile layout. This is also why the editor can show you the mobile layout inside a frame on the canvas.
Device frames in the editor
When you pick a device in the Build top bar or in the preview, the canvas is drawn at a fixed width that represents that device:
| Device toggle | Canvas width | Breakpoint shown |
|---|---|---|
| Desktop | 1040–1200 px (fits the space available, up to 1200 px) | Desktop |
| Tablet | 820 px | Tablet |
| Mobile | 390 px | Mobile |
The caption under the canvas shows the page name, its route and the current width (for example "Mobile 390px · shown at 80%" when the canvas is scaled to fit).
How to check each breakpoint
- Open Build and select the page.
- Click Desktop, Tablet or Mobile in the top bar. The canvas reflows.
- Select a component and open the Responsive tab in the inspector. The breakpoint selector at the top of the tab follows the device you chose, so you edit the size you are looking at.
- Open Preview and use the same toggle to try the page interactively at that size.
Example
A dashboard has three KPI cards, each 4 columns wide on desktop.
Desktop (>= 1024 px) Tablet (640–1023 px) Mobile (<= 639 px)
[ KPI ][ KPI ][ KPI ] [ KPI ][ KPI ] [ KPI ]
[ KPI ] [ KPI ]
[ KPI ]Nothing was configured: 4-column items become half width on tablet and full width on mobile automatically.
Common mistakes
- Expecting a fourth breakpoint. There is no separate "large desktop" or "small phone" size. Use the three breakpoints and max-width settings in the Layout tab if you need to cap very wide layouts.
- Testing only in a maximised browser. Drag your browser narrower, or use the device toggle, to see the tablet and mobile layouts.
Advanced
Breakpoints are evaluated against the width of the app's root element (a CSS container query on .mab-root), so the same thresholds apply in the editor canvas, the preview frame and the published app. The thresholds are mobile <= 639, tablet <= 1023, otherwise desktop. The navigation bar collapses at a separate container width of 767 px (see Mobile navigation).