Layout Classes
This page documents the CSS utility classes available for controlling layout in VUI. These classes provide responsive containers, width and height utilities, display properties, and flexbox controls to help you build layouts quickly and consistently.
Container
Container classes provide responsive containers with different maximum widths and consistent padding.
Width
Width utility classes control element width using percentage values. These classes are generated in increments of 5% from 0% to 100%, plus an additional utility class.
Pattern: .w-{percentage} where percentage ranges from 0 to 100 in increments of 5.
Height
Height utility classes control element height using percentage values. These classes follow the same pattern as width classes, generated in increments of 5% from 0% to 100%.
Pattern: .h-{percentage} where percentage ranges from 0 to 100 in increments of 5.
Display
Classes for controlling the display property of elements.
Flex
Classes for flexbox layout control. You should almost always use the Flex component.
flex: 1 applied to it. This makes the element grow to fill available space in a flex container.