import ’./Panel.css’

Examples

Basic

Secondary

Header

Footer

Header and footer

No body

Raised

Bordered

Scrollable

Scrollable with auto height

Scrollable with header and footer

Pill

Documentation

Usage

ClassApplied toOutcome
.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-panelAdds a border to the panel.
.pf-m-no-border.pf-v6-c-panelRemoves the border from a variant that has a default border.
.pf-m-raised.pf-v6-c-panelApplies elevated styles for use when the panel appears on top of other elements.
.pf-m-scrollable.pf-v6-c-panelModifies the panel so the main content is scrollable.
.pf-m-scrollable-auto-height.pf-v6-c-panelModifies the panel to have an auto height when scrollable.
.pf-m-secondary.pf-v6-c-panelModifies the panel for secondary styles.
.pf-m-pill.pf-v6-c-panelModifies the panel for pill border radius.
.pf-m-full-height.pf-v6-c-panelMakes the panel fill the available height.
.pf-m-glass.pf-v6-c-panelApplies glass styling to the panel in glass theme.

CSS variables