Split

Examples

Basic

content
pf-m-fill
content

With gutter

content
pf-m-fill
content

Wrappable

content
content
content
content
content
content
content
content
content
content
content
content
content
content

Props

Split

*required
NameTypeDefaultDescription
childrenReact.ReactNodenullcontent rendered inside the split layout.
classNamestring''Additional classes added to the split layout.
componentReact.ReactNode'div'Sets the base component to render. Defaults to div.
hasGutterbooleanfalseAdds space between children.
isWrappablebooleanfalseAllows children to wrap.

SplitItem

*required
NameTypeDefaultDescription
childrenReact.ReactNodenullContent rendered inside the split layout item.
classNamestring''Additional classes added to the split layout item.
componentReact.ReactNode'div'Sets the base component to render. Defaults to div.
isFilledbooleanfalseFlag indicating if this split layout item should fill the available horizontal space.

CSS variables

Expand or collapse columnSelectorVariableValue
.pf-v6-l-split--pf-v6-l-stack--m-gutter--Gap
1rem