Layout & containers
Chapters (8)
Rows and columns
The canvas is a stack of rows. Each row holds one or more columns, and each column holds exactly one element. You create layout by dragging:
- Drop an element below another → new row.
- Drop an element beside another → same row, new column.
- Drop an element into a container → nested rows inside that container.
Widths
Every element has three width properties in the Design category:
| Property | Applies on |
|---|---|
| Width | Desktop |
| Tablet width | Tablet viewport |
| Mobile width | Mobile viewport |
Use % for fluid layouts (50%, 33%) or px for fixed sizes. Fit content makes the element only as wide as its content, which suits buttons.
Test each breakpoint with the viewport switcher in Preview.
Container elements at a glance
| Container | Use for |
|---|---|
| Panel | Grouping related fields under a heading, with background/border styling |
| Tabs / Tabs Pro | Switching between sections without leaving the page |
| Accordion | Collapsible sections |
| Dynamic panel | A repeatable group where the user adds and removes entries (e.g. several addresses) |
| Dialog | Content that opens in a modal window |
| Splitter | Two resizable side-by-side areas |
| Spacer | Empty vertical space |
| Divider | A horizontal separator line |
Details and properties for each: Containers.
Element spacing
The global gap between rows is set in Form settings → Element spacing. Panels additionally have their own padding controls (desktop and mobile) in the Design category.
Web pages with Canvas
NGX View Builder is not only for forms. With Form settings → Render mode → Canvas (full width, no frame) a view becomes a plain web page: a landing page, a product page, a status page, an event sign-up.
What Canvas changes:
- No page card, no page title bar, no Prev/Next, Validate or Submit buttons, no outer spacing. The view fills the full width.
- All visible pages are shown one after another as one long page, so you can split a long page into pages in the builder just to keep it tidy.
- On phones, columns without a Mobile width stack under each other, the way web pages do. Set a mobile width yourself where you want something to stay side by side.
Build the page from panels with Use as page section on (see Page section). A typical page:
- A hero section: dark colours, a background image with an overlay, minimum height
480px; inside it a Page title (levelh1) and two buttons with Fit content on. - A features section: a centred Page title, then a row of three Message cards or Stats cards. On phones they stack automatically.
- A call to action: a light grey background, content width
720px, a title, an email field and a button.
Elements placed directly on a Canvas page, outside a section, run edge to edge without any spacing around them, so keep content inside sections. Buttons and links are ordinary elements with actions; there is no built-in Submit bar on a Canvas.
Practical guidelines
- Group related fields into panels; users scan grouped forms faster.
- Prefer 2 columns maximum on data-entry forms; more becomes hard to scan.
- Set mobile widths to
100%for nearly everything. - Use a Dynamic panel instead of duplicating the same fields ("Address 1", "Address 2"…).