Hero component layout
Notice this section has two columns: one for the text and button on the left and one for an image on the right. This section uses nested Boxes to create this two-column layout. To better visualize this, hover over the heading text to display the Breadcrumbs. The structure of this section looks like this:hero
- root Box for this section that includes paddinghero-content
- nested Box that has two columns of content with a set widthhero-text
- left Box containing the text and buttonhero-graphic
- right Box containing the image
Preview different screen sizes
With that in mind, let’s take a look at what this layout looks like on a smaller screen. Use the dropdown menu to the right of the URL Bar at the top of the Visual Builder and select Mobile.
1
for desktop, 2
for tablet, and 3
for mobile.
If you compare the hero on desktop and mobile, you’ll notice that the layout changes to better fit the screen size by stacking hero-text
and hero-graphic
vertically.

- The navbar collapses to a hamburger menu
- The list of features is stacked vertically
How to build a responsive layout
To see how the responsive design for the hero was built, switch the view to desktop and select thehero-content
component. Then, hover on the line that divides the two columns (text on the left and the image on the right). Your cursor will show an arrow pointing down and to the left. Clicking there will allow you to stack the two columns vertically. To undo this, you can hover over the line separating the two rows and click the arrow pointing up and to the right.