Panel

A panel is a customizable container that can contain other components in flexible content layouts.

Examples

Basic

Main content

Secondary

Main content with secondary styling
Header content

Main content

No body

Main content

Raised

Main content

Bordered

Main content

Scrollable

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Main content

Documentation

Usage

Class
Applied to
Outcome
.pf-v6-c-panel
<div>
Initiates the panel. Required
.pf-v6-c-panel__header
<div>
Initiates the panel header.
.pf-v6-c-panel__main
<div>
Initiates the panel main content.
.pf-v6-c-panel__main-body
<div>
Initiates a panel content body container.
.pf-v6-c-panel__menu
<div>
Initiates a panel menu container.
.pf-v6-c-panel__footer
<div>
Initiates the panel footer.
.pf-m-bordered
.pf-v6-c-panel
Modifies the panel for bordered styles.
.pf-m-raised
.pf-v6-c-panel
Modifies the panel for raised styles.
.pf-m-scrollable
.pf-v6-c-panel
Modifies the panel for scrollable styles.
.pf-m-secondary
.pf-v6-c-panel
Modifies the panel for secondary styles.

CSS variables

Expand or collapse columnSelectorVariableValue
.pf-v6-c-panel--pf-v6-c-panel--Width
auto
.pf-v6-c-panel--pf-v6-c-panel--MinWidth
auto
.pf-v6-c-panel--pf-v6-c-panel--MaxWidth
none
.pf-v6-c-panel--pf-v6-c-panel--BackgroundColor
(In light theme) #ffffff
.pf-v6-c-panel--pf-v6-c-panel--BoxShadow
none
.pf-v6-c-panel--pf-v6-c-panel--BorderRadius
6px
.pf-v6-c-panel--pf-v6-c-panel--before--BorderWidth
0
.pf-v6-c-panel--pf-v6-c-panel--before--BorderColor
(In light theme) #c7c7c7
.pf-v6-c-panel--pf-v6-c-panel--m-secondary--BackgroundColor
(In light theme) #f2f2f2
.pf-v6-c-panel--pf-v6-c-panel--m-bordered--before--BorderWidth
1px
.pf-v6-c-panel--pf-v6-c-panel--m-raised--BoxShadow
0px 4px 9px 0px rgba(41, 41, 41, 0.1500)
.pf-v6-c-panel--pf-v6-c-panel--m-raised--BackgroundColor
(In light theme) #ffffff
.pf-v6-c-panel--pf-v6-c-panel__header--PaddingBlockStart
1rem
.pf-v6-c-panel--pf-v6-c-panel__header--PaddingInlineEnd
1.5rem
.pf-v6-c-panel--pf-v6-c-panel__header--PaddingBlockEnd
1rem
.pf-v6-c-panel--pf-v6-c-panel__header--PaddingInlineStart
1.5rem
.pf-v6-c-panel--pf-v6-c-panel__main--MaxHeight
none
.pf-v6-c-panel--pf-v6-c-panel__main--Overflow
visible
.pf-v6-c-panel--pf-v6-c-panel__main-body--PaddingBlockStart
1rem
.pf-v6-c-panel--pf-v6-c-panel__main-body--PaddingInlineEnd
1.5rem
.pf-v6-c-panel--pf-v6-c-panel__main-body--PaddingBlockEnd
1rem
.pf-v6-c-panel--pf-v6-c-panel__main-body--PaddingInlineStart
1.5rem
.pf-v6-c-panel--pf-v6-c-panel__footer--PaddingBlockStart
0.5rem
.pf-v6-c-panel--pf-v6-c-panel__footer--PaddingInlineEnd
1.5rem
.pf-v6-c-panel--pf-v6-c-panel__footer--PaddingBlockEnd
0.5rem
.pf-v6-c-panel--pf-v6-c-panel__footer--PaddingInlineStart
1.5rem
.pf-v6-c-panel--pf-v6-c-panel__footer--BoxShadow
none
.pf-v6-c-panel--pf-v6-c-panel--m-scrollable__main--MaxHeight
18.75rem
.pf-v6-c-panel--pf-v6-c-panel--m-scrollable__main--Overflow
auto
.pf-v6-c-panel--pf-v6-c-panel--m-scrollable__footer--BoxShadow
0px -10px 9px -8px rgba(41, 41, 41, 0.1500)
.pf-v6-c-panel--pf-v6-c-panel--m-scrollable__footer--PaddingBlockStart
1rem
.pf-v6-c-panel--pf-v6-c-panel--m-scrollable__footer--PaddingBlockEnd
1rem
.pf-v6-c-panel.pf-m-bordered--pf-v6-c-panel--before--BorderWidth
1px
.pf-v6-c-panel.pf-m-secondary--pf-v6-c-panel--BackgroundColor
(In light theme) #f2f2f2
.pf-v6-c-panel.pf-m-raised--pf-v6-c-panel--BackgroundColor
(In light theme) #ffffff
.pf-v6-c-panel.pf-m-raised--pf-v6-c-panel--BoxShadow
0px 4px 9px 0px rgba(41, 41, 41, 0.1500)
.pf-v6-c-panel.pf-m-scrollable--pf-v6-c-panel__main--MaxHeight
18.75rem
.pf-v6-c-panel.pf-m-scrollable--pf-v6-c-panel__main--Overflow
auto
.pf-v6-c-panel.pf-m-scrollable--pf-v6-c-panel__footer--BoxShadow
0px -10px 9px -8px rgba(41, 41, 41, 0.1500)
.pf-v6-c-panel.pf-m-scrollable--pf-v6-c-panel__footer--PaddingBlockStart
1rem
.pf-v6-c-panel.pf-m-scrollable--pf-v6-c-panel__footer--PaddingBlockEnd
1rem