Examples
Props
Stack
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | null | content rendered inside the Stack layout |
className | string | '' | additional classes added to the Stack layout |
component | React.ReactNode | 'div' | Sets the base component to render. defaults to div |
hasGutter | boolean | false | Adds space between children. |
StackItem
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | null | additional classes added to the Stack Layout Item |
className | string | '' | content rendered inside the Stack Layout Item |
isFilled | boolean | false | Flag indicating if this Stack Layout item should fill the available vertical space. |
CSS variables
Expand or collapse column | Selector | Variable | Value | |
---|---|---|---|---|
:where(:root, .pf-v6-l-stack) | --pf-v6-l-stack--m-gutter--Gap | 1rem | ||
|