.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.
The available utility classes to alter the settings for
.switcher are listed below.
.switcher-w-<name>: set the
min-widthof an individual item in the tile system, based on
.switcher-a-<name>: set the number of child elements it has, used for internal calculations. Default value is
1. When you leave it as
min-widtchwill act as that of the parent, instead of the individual children.
.gap-<name>: set the
gapproperty, which defines the gap both vertically and horizontally between items in the tile system. Based on
If the utility classes are not flexible enough and you want to adjust the way the layout pattern behaves, adjust the
--switcher-widthcustom properties on the element you are applying this pattern to.