The .switcher
class allows for a responsive grouping of element to automatically switch from horizontal alignment to vertical alignment, based on the width of the parent container.

Utility classes
The available utility classes to alter the settings for .switcher
are listed below.
.switcher-w-<name>
: set themin-width
of an individual item in the tile system, based on$feo-breakpoints
..switcher-a-<name>
: set the number of child elements it has, used for internal calculations. Default value is1
. When you leave it as1
, themin-widtch
will act as that of the parent, instead of the individual children..gap-<name>
: set thegap
property, which defines the gap both vertically and horizontally between items in the tile system. 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
--switcher-width
custom properties on the element you are applying this pattern to.