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 | Type | Description |
|---|---|---|---|
|
direction
|
horizontal | string | - |
|
justifyContent
|
string | - | |
|
jusitifyContent
|
string | - | |
|
alignItems
|
string | - | |
|
alignContent
|
string | - | |
|
display
|
string | - | |
|
wrap
|
string | - | |
|
flexGrow
|
false | boolean | - |
|
flexShrink
|
true | boolean | - |
|
gap
|
string|integer | - | |
|
fluidGrid
|
null | string|integer|boolean|null | - |
|
columns
|
null | string|integer|null | - |
|
normalizeChildren
|
true | boolean | - |
|
fullWidth
|
false | boolean | - |
|
flexWrap
|
false | string|boolean | - |
CSS API
| Variable | Default | Type | Values | Description |
|---|---|---|---|---|
|
--c-group--base
|
var(--base) | range | - | Main unit that drives radius and spacing scales. |
|
--c-group--border-radius
|
var(--border-radius) | range | - | Border Radius |
|
--c-group--corner-shape
|
var(--corner-shape) | select | square, round, squircle, circular, bevel, scoop | Corner Shape |
|
--c-group--shadow-amount
|
var(--shadow-amount) | range | - | Multiplier for elevation shadows. 0 = none, 1 = default. |
|
--c-group--shadow-color
|
var(--shadow-color) | rgba | - | Shadow Color |