Examples
Props
Level
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | null | content rendered inside the Level layout |
className | string | '' | additional classes added to the Level layout |
hasGutter | boolean | Adds space between children. |
LevelItem
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | null | content rendered inside the Level Layout Item |
CSS variables
Expand or collapse column | Selector | Variable | Value | |
---|---|---|---|---|
.pf-v5-l-level | --pf-v5-l-level--m-gutter--Gap | 1rem | ||
--pf-v5-l-level--m-gutter--Gap --pf-v5-global--gutter $pf-v5-global--gutter $pf-v5-global--spacer--md pf-size-prem(16px) 1rem |
View source on GitHub