.sidebar-<l/r>
allow you to create a responsive two-column layout. One column has a fixed width, while the other column takes all the available space. The l
or r
indication determines which column will be fixed, the left or right column, respectively. Whenever the width of the parent container falls below a certain threshold, the layout moves to two rows, instead of two columns.

Utility classes
As already hinted by the image above, there are several .sidebar
linked utility classes that can be applied to alter how the layout behaves.
.sidebar-w-<name>
: set the width of the controllable sidebar, based on$feo-breakpoints
. The default value is0
..sidebar-c-<name>
: sets a percentage the main content area has to be of the parent for a minimum, before changing the layout. Multiplications of 10%, default is 50%..gap-<name>
: set the gap between the two columns. This gap is applied both horizontally and vertically. Based on the, based on$feo-sizes
.
If the utility classes are not flexible enough and you want to adjust the way the layout pattern behaves, adjust the
--sidebar-width
custom properties on the element you are applying this pattern to.