Stack
Use a Stack layout to position items vertically in a container, with one item filling the available vertical space.
ExamplesPropsCSS VariablesProps
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| hasGutter | boolean | No | Adds space between children. | |
| children | React.ReactNode | No | null | content rendered inside the Stack layout |
| className | string | No | '' | additional classes added to the Stack layout |
| component | React.ReactNode | No | 'div' | Sets the base component to render. defaults to div |
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| isFilled | boolean | No | false | Flag indicating if this Stack Layout item should fill the available vertical space. |
| children | React.ReactNode | No | null | additional classes added to the Stack Layout Item |
| className | string | No | '' | content rendered inside the Stack Layout Item |
CSS Variables
| .pf-l-stack | --pf-l-stack--m-gutter--MarginBottom | 1rem | ||
