Examples
Scrollable
Main content
Main content
Main content
Main content
Main content
Main content
Main content
Main content
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 column | Selector | Variable | Value | |
---|---|---|---|---|
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--Width | auto | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--MinWidth | auto | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--MaxWidth | none | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--BackgroundColor | (In light theme) #ffffff | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--BoxShadow | none | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--BorderRadius | 6px | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--before--BorderWidth | 0 | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--before--BorderColor | (In light theme) #c7c7c7 | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--m-secondary--BackgroundColor | (In light theme) #f2f2f2 | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--m-bordered--before--BorderWidth | 1px | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--m-raised--BoxShadow | 0px
4px
8px
0px
rgba(0, 0, 0, 0.1200) | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--m-raised--BackgroundColor | (In light theme) #ffffff | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__header--PaddingBlockStart | 1rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__header--PaddingInlineEnd | 1.5rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__header--PaddingBlockEnd | 1rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__header--PaddingInlineStart | 1.5rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__main--MaxHeight | none | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__main--Overflow | visible | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__main-body--PaddingBlockStart | 1rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__main-body--PaddingInlineEnd | 1.5rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__main-body--PaddingBlockEnd | 1rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__main-body--PaddingInlineStart | 1.5rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__footer--PaddingBlockStart | 0.5rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__footer--PaddingInlineEnd | 1.5rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__footer--PaddingBlockEnd | 0.5rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__footer--PaddingInlineStart | 1.5rem | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel__footer--BoxShadow | none | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--m-scrollable__main--MaxHeight | 18.75rem | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--m-scrollable__main--Overflow | auto | ||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--m-scrollable__footer--BoxShadow | 0px
-4px
8px
0px
rgba(0, 0, 0, 0.1200) | ||
| ||||
:where(:root, .pf-v6-c-panel) | --pf-v6-c-panel--m-scrollable__footer--PaddingBlockStart | 1rem | ||
| ||||
:where(:root, .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
8px
0px
rgba(0, 0, 0, 0.1200) | ||
| ||||
.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
-4px
8px
0px
rgba(0, 0, 0, 0.1200) | ||
| ||||
.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 | ||
|