AX - Layout
Overview
AX - Layout is an Experience Cloud component that organizes other components into structured rows and columns with flexible sizing and alignment on Experience Sites pages.
Use it to create multi-column layouts, responsive grids, or custom page structures by dragging and dropping components into layout sections. Control column widths, spacing, alignment, and responsive behavior for different screen sizes in Experience Builder.
Perfect for dashboard layouts, form sections, content grids, comparison tables, or anywhere your portal needs structured, multi-column content organization that adapts to mobile and desktop.
Configuration
Properties
Horizontal Align adjusts the horizontal alignment of content within the layout, keeping it balanced and harmonized — Start (default), Center, End, Space (equal space around each column) or Spread (equal space between columns, flush to the edges).
Vertical Align controls the vertical alignment of content, presenting it in a visually appealing manner that resonates with your design goals — Start (default), Center, End or Stretch.
Pull to Boundary allows content to extend toward the boundaries of the layout, crafting layouts that maximize space — None (default), Small, Medium or Large.
Multiple Rows lets the layout accommodate content across multiple rows, distributing it in a structured, organized sequence. On by default.
Display as Section sets the layout to manifest as a distinct section within the page. On by default.
Column Layout determines how content is displayed within columns, establishing a grid-like structure for a systematic, neat arrangement — see Column Layout Settings below.
Column Layout Settings
The Column Layout settings provide flexibility in organizing page content, ensuring it adapts responsively to different screen sizes and devices while maintaining a clean, structured appearance.
Type
Determines the nature of the column layout.
Options:
Flexible: Columns in this layout type adjust their size dynamically based on the content and the available screen space. This option is ideal for responsive designs where the layout needs to adapt to various device sizes.Fixed: This option maintains a constant size for the columns, regardless of the screen size or content volume. Fixed columns are helpful when a uniform and consistent layout is required.
Usage: Choose
Flexiblefor fluid layouts that need to adjust to different screen sizes, andFixedfor layouts that require consistency in column widths.
Size
Sets the width of a Fixed column within the grid. The grid system is typically based on a 12-unit structure.
Range: 1 to 12, where each unit represents a proportion of the total available width.
Usage: Assign a size to define how much space each column should occupy. For instance, setting a size of 4 in a 12-unit grid would mean the column takes up one-third of the available horizontal space.
Per-device sizes: the editor shows the size for the device currently previewed in Experience Builder. Switch the device preview and set the size again to give the column a different width on small, medium and large screens; any device left unset falls back to the base size.
Flexibility
Replaces Size when the column Type is Flexible — it controls how the column absorbs extra space or shrinks when space is tight.
Options:
Auto,Shrink,Grow,No-shrink,No-growandNo-flex.Usage: Use
Growto let a column soak up the remaining space in its row,No-shrinkto stop a column from collapsing on narrow screens, andAutoto leave the sizing to the browser.
Alignment Bump
Adjusts the position of the column within its container.
Options:
Left: Shifts the column towards the left edge of the container.Right: Moves the column towards the right edge.Top: Aligns the column closer to the top of the container.Bottom: Positions the column near the bottom of the container.
Usage: Use this setting to fine-tune the position of columns relative to their surroundings, enhancing the layout's visual appeal and spatial balance.
Padding
Controls the internal spacing of the column.
Options:
Horizontal Small,Horizontal MediumandHorizontal Largeadjust padding on the left and right sides of the column;Around Small,Around MediumandAround Largeadd padding on all sides.Usage: Apply padding to create space within the column, ensuring the content is not flush against the edges, improving readability and visual aesthetics.
The column layout settings of the Avonni Layout Component are essential for creating polished and functional layouts in Salesforce Experience Cloud sites.
Use Cases
Learn to create a dynamic grid layout with Avonni Components for showcasing products or features.
Learn to create responsive, user-friendly layouts with Avonni Layout in Experience Cloud across various devices.
Last updated
Was this helpful?
