VARIANT 01

Flex - Horizontal Centered

QUICK REFERENCE

Column count: choose any value that represents the number of columns you need. Note: Count can be set at each device size; cascades like styles

Gap: choose gutter or size (1 through 13)

WHEN TO USE

To quickly create a flex layout that centers its children horizontally. You determine the number of columns, per viewport, by changing the parent wrapper variables: columns, and gap.

AVOID

Only set the column count on the outermost wrapper.

SPECIAL INSTRUCTIONS

  • add a div
  • do some things
  • other things

Add a div to the page and select it

In the styles panel, click the + next to "Variable modes" and add "Column Count" and "Gap"

Add the "Layout - Flex" component inside the div.

Add elements to the component slot to fill out the flex container.

Change the values of each variable mode to meet your design needs. ONLY change the variable modes on the outermost wrapper.

COMPONENT DEMO

No demo available - this is a wrapper-only component.

DETAILED PROP GUIDE

This component has no direct props. Columns and gaps are controlled using the styles panel variable settings.

  • stuff
  • more stuff
  • third stuff

BUGS & IMPROVEMENTS

BUG

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

improvement

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.