Group

The Group component provides a reusable pattern for group in the interface.

Horizontal group

The group component resets (removes) margins, and border-radius to make the apperance of horizontally stacked elements.

Vertical group

The group component resets (removes) margins, and border-radius to make the apperance of vertically stacked elements.

Justify items

Align the elements within the group as you to either position

Align items

Align the elements within the group vertcially in relation to each other.

Align items

Align the elements within the group vertcially in relation to the group. For this to have any affect, the group must have an active flex-wrap.

Flex

Changes how the container flexes its content.

Wrap

Wrap decides how the elements will move around. Lower the viewport to see how the elements behave.

Flex grow

Flex shrink

Resize the viewport to see how the elements behave

API

Parameter Default Description
horizontal What direction to group (horizontal or vertical)
Justify the content to either position (ex. left, center, right)
Alignment of the content items (ex. center)
Alignment of the content (ex. end)
-
Wrap the content (ex. nowrap, wrap, wrap-reverse)
false Allow to grow the content within the group
true Allow to shrink the content within the group
A number between 1-10 that sets the gap between flexed elements.
Uses flexbox and media queries to determine amount of items per row. Can be a number between 1-4 which will determine the maximum amount of items per row.
Number of items per row. (number between 1-12)

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--border-radius) range - Border Radius
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner Shape
var(--shadow-amount) range - Multiplier for elevation shadows. 0 = none, 1 = default.
var(--shadow-color) rgba - Shadow Color