Card

A card is a content container that displays entry-level information—typically within dashboards, galleries, and catalogs.

CSS variables

Expand or collapse columnSelectorVariableValue
.pf-v6-c-card--pf-v6-c-card--BackgroundColor
(In light theme) #ffffff
.pf-v6-c-card--pf-v6-c-card--BorderColor
(In light theme) #e0e0e0
.pf-v6-c-card--pf-v6-c-card--BorderStyle
solid
.pf-v6-c-card--pf-v6-c-card--BorderWidth
1px
.pf-v6-c-card--pf-v6-c-card--BorderRadius
16px
.pf-v6-c-card--pf-v6-c-card--first-child--PaddingBlockStart
1.5rem
.pf-v6-c-card--pf-v6-c-card--child--PaddingInlineEnd
1.5rem
.pf-v6-c-card--pf-v6-c-card--child--PaddingBlockEnd
1.5rem
.pf-v6-c-card--pf-v6-c-card--child--PaddingInlineStart
1.5rem
.pf-v6-c-card--pf-v6-c-card--c-divider--child--PaddingBlockStart
1.5rem
.pf-v6-c-card--pf-v6-c-card__title--not--last-child--PaddingBlockEnd
1rem
.pf-v6-c-card--pf-v6-c-card__title-text--Color
(In light theme) #151515
.pf-v6-c-card--pf-v6-c-card__title-text--FontFamily
"Red Hat Display", "RedHatDisplay", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans JP", "Noto Sans KR", "Noto Sans Malayalam", "Noto Sans SC", "Noto Sans TC", "Noto Sans Thai", Helvetica, Arial, sans-serif
.pf-v6-c-card--pf-v6-c-card__title-text--FontSize
1rem
.pf-v6-c-card--pf-v6-c-card__title-text--FontWeight
600
.pf-v6-c-card--pf-v6-c-card__title-text--LineHeight
1.3
.pf-v6-c-card--pf-v6-c-card__title-text--OverflowWrap
break-word
.pf-v6-c-card--pf-v6-c-card--c-button--disabled--Color
(In light theme) #707070
.pf-v6-c-card--pf-v6-c-card__body--FontSize
0.875rem
.pf-v6-c-card--pf-v6-c-card__footer--FontSize
0.875rem
.pf-v6-c-card--pf-v6-c-card__footer--Color
(In light theme) #4d4d4d
.pf-v6-c-card--pf-v6-c-card__actions--PaddingInlineStart
1rem
.pf-v6-c-card--pf-v6-c-card__actions--Gap
1rem
.pf-v6-c-card--pf-v6-c-card__actions--MarginBlockStart
calc(0.5rem * -1)
.pf-v6-c-card--pf-v6-c-card__actions--MarginBlockEnd
calc(0.5rem * -1)
.pf-v6-c-card--pf-v6-c-card__header--m-wrap--RowGap
0.5rem
.pf-v6-c-card--pf-v6-c-card__header--m-wrap--ColumnGap
1rem
.pf-v6-c-card--pf-v6-c-card__header-toggle--MarginBlockStart
calc(0.5rem * -1)
.pf-v6-c-card--pf-v6-c-card__header-toggle--MarginInlineEnd
0.5rem
.pf-v6-c-card--pf-v6-c-card__header-toggle--MarginBlockEnd
calc(0.5rem * -1)
.pf-v6-c-card--pf-v6-c-card__header-toggle--MarginInlineStart
calc(0.5rem * -1)
.pf-v6-c-card--pf-v6-c-card__header-toggle-icon--TransitionTimingFunction
cubic-bezier(.4, 0, .2, 1)
.pf-v6-c-card--pf-v6-c-card__header-toggle-icon--TransitionDuration
100ms
.pf-v6-c-card--pf-v6-c-card--m-expanded__header-toggle-icon--Rotate
-180deg
.pf-v6-c-card--pf-v6-c-card--m-selectable--BorderWidth
1px
.pf-v6-c-card--pf-v6-c-card--m-selectable--BorderColor
(In light theme) #8c8c8c
.pf-v6-c-card--pf-v6-c-card--m-clickable--m-current--BorderColor
(In light theme) #0066cc
.pf-v6-c-card--pf-v6-c-card--m-clickable--m-current--BorderWidth
3px
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-selected--BorderColor
(In light theme) #0066cc
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-selected--BorderWidth
3px
.pf-v6-c-card--pf-v6-c-card--m-selectable--hover--BorderColor
(In light theme) #4394e5
.pf-v6-c-card--pf-v6-c-card--m-selectable--hover--BorderWidth
2px
.pf-v6-c-card--pf-v6-c-card--m-selectable--focus--BorderColor
(In light theme) #4394e5
.pf-v6-c-card--pf-v6-c-card--m-selectable--focus--BorderWidth
2px
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-selected--focus--BorderColor
(In light theme) #0066cc
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-selected--focus--BorderWidth
3px
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-disabled__title-text--Color
(In light theme) #707070
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-disabled__body--Color
(In light theme) #707070
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-disabled__footer--Color
(In light theme) #707070
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-disabled--BackgroundColor
(In light theme) #c7c7c7
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-disabled--BorderColor
transparent
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-clickable--m-current--BorderColor
(In light theme) #0066cc
.pf-v6-c-card--pf-v6-c-card--m-selectable--m-clickable--m-current--BorderWidth
3px
.pf-v6-c-card--pf-v6-c-card--m-compact__title-text--FontSize
1rem
.pf-v6-c-card--pf-v6-c-card--m-compact__body--FontSize
0.875rem
.pf-v6-c-card--pf-v6-c-card--m-compact__footer--FontSize
0.75rem
.pf-v6-c-card--pf-v6-c-card--m-compact--first-child--PaddingBlockStart
1rem
.pf-v6-c-card--pf-v6-c-card--m-compact--child--PaddingInlineEnd
1rem
.pf-v6-c-card--pf-v6-c-card--m-compact--child--PaddingBlockEnd
1rem
.pf-v6-c-card--pf-v6-c-card--m-compact--child--PaddingInlineStart
1rem
.pf-v6-c-card--pf-v6-c-card--m-compact--c-divider--child--PaddingBlockStart
1rem
.pf-v6-c-card--pf-v6-c-card--m-compact__title--not--last-child--PaddingBlockEnd
0.5rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg__title-text--FontSize
1.25rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg__body--FontSize
1rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg__footer--FontSize
0.875rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg--first-child--PaddingBlockStart
2rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg--child--PaddingInlineEnd
2rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg--child--PaddingBlockEnd
2rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg--child--PaddingInlineStart
2rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg--c-divider--child--PaddingBlockStart
2rem
.pf-v6-c-card--pf-v6-c-card--m-display-lg__title--not--last-child--PaddingBlockEnd
1.5rem
.pf-v6-c-card--pf-v6-c-card--m-secondary--BackgroundColor
(In light theme) #f2f2f2
.pf-v6-c-card--pf-v6-c-card--m-full-height--Height
100%
.pf-v6-c-card--pf-v6-c-card--m-plain--BorderColor
transparent
.pf-v6-c-card--pf-v6-c-card--m-plain--BackgroundColor
transparent
.pf-v6-c-card--pf-v6-c-card__header--m-toggle-right--toggle--MarginInlineEnd
calc(0.5rem * -1)
.pf-v6-c-card--pf-v6-c-card__header--m-toggle-right--toggle--MarginInlineStart
0.5rem
.pf-v6-c-card--pf-v6-c-card--m-as-tile--BackgroundColor
(In light theme) #ffffff
.pf-v6-c-card--pf-v6-c-card--m-as-tile--BorderColor
(In light theme) #8c8c8c
.pf-v6-c-card--pf-v6-c-card--m-glass--BorderColor
initial
.pf-v6-c-card--pf-v6-c-card--m-glass--BorderWidth
initial
.pf-v6-c-card--pf-v6-c-card--m-glass--BoxShadow
0px 4px 10px 0px rgb(41, 41, 41, 0.1500)
.pf-v6-c-card--pf-v6-c-card--m-glass--BackdropFilter
initial
.pf-v6-c-card--pf-v6-c-card--m-glass--BackgroundColor
initial
:where(.pf-v6-theme-glass) .pf-v6-c-card.pf-m-glass--pf-v6-c-card--BackgroundColor
initial
:where(.pf-v6-theme-glass) .pf-v6-c-card.pf-m-glass--pf-v6-c-card--BorderColor
initial
:where(.pf-v6-theme-glass) .pf-v6-c-card.pf-m-glass--pf-v6-c-card--BorderWidth
initial
.pf-v6-c-card.pf-m-selectable--pf-v6-c-card--BorderColor
(In light theme) #8c8c8c
.pf-v6-c-card.pf-m-current--pf-v6-c-card--BorderColor
(In light theme) #0066cc
.pf-v6-c-card.pf-m-current--pf-v6-c-card--BorderWidth
3px
.pf-v6-c-card.pf-m-current--pf-v6-c-card--m-selectable--hover--BorderColor
(In light theme) #0066cc
.pf-v6-c-card.pf-m-current--pf-v6-c-card--m-selectable--focus--BorderColor
(In light theme) #0066cc
.pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:focus-visible) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--BackgroundColor
revert
.pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:focus-visible) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--BorderColor
revert
.pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:checked) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--BorderColor
revert
.pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:checked) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--m-selectable--BorderWidth
revert
.pf-v6-c-card.pf-m-selectable.pf-m-clickable.pf-m-current--pf-v6-c-card--BorderColor
(In light theme) #0066cc
.pf-v6-c-card.pf-m-selectable.pf-m-clickable.pf-m-current--pf-v6-c-card--BorderWidth
3px
.pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--BackgroundColor
(In light theme) #c7c7c7
.pf-v6-c-card__actions:has(> .pf-v6-c-card__selectable-actions input.pf-v6-screen-reader)--pf-v6-c-card--BackgroundColor
(In light theme) #ffffff
.pf-v6-c-card__actions:has(> .pf-v6-c-card__selectable-actions input.pf-v6-screen-reader)--pf-v6-c-card--BorderColor
(In light theme) #8c8c8c
.pf-v6-c-card.pf-m-clickable:not(.pf-m-selectable)--pf-v6-c-card__actions--PaddingInlineStart
0
.pf-v6-c-card.pf-m-clickable:not(.pf-m-selectable)--pf-v6-c-card__actions--MarginBlockStart
0
.pf-v6-c-card.pf-m-clickable:not(.pf-m-selectable)--pf-v6-c-card__actions--MarginBlockEnd
0
.pf-v6-c-card.pf-m-compact--pf-v6-c-card__title-text--FontSize
1rem
.pf-v6-c-card.pf-m-compact--pf-v6-c-card__body--FontSize
0.875rem
.pf-v6-c-card.pf-m-compact--pf-v6-c-card__footer--FontSize
0.75rem
.pf-v6-c-card.pf-m-compact--pf-v6-c-card--first-child--PaddingBlockStart
1rem
.pf-v6-c-card.pf-m-compact--pf-v6-c-card--child--PaddingInlineEnd
1rem
.pf-v6-c-card.pf-m-compact--pf-v6-c-card--child--PaddingBlockEnd
1rem
.pf-v6-c-card.pf-m-compact--pf-v6-c-card--child--PaddingInlineStart
1rem
.pf-v6-c-card.pf-m-compact--pf-v6-c-card--c-divider--child--PaddingBlockStart
1rem
.pf-v6-c-card.pf-m-compact--pf-v6-c-card__title--not--last-child--PaddingBlockEnd
0.5rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card__title-text--FontSize
1.25rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card__body--FontSize
1rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card__footer--FontSize
0.875rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card--first-child--PaddingBlockStart
2rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card--child--PaddingInlineEnd
2rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card--child--PaddingBlockEnd
2rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card--child--PaddingInlineStart
2rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card--c-divider--child--PaddingBlockStart
2rem
.pf-v6-c-card.pf-m-display-lg--pf-v6-c-card__title--not--last-child--PaddingBlockEnd
1.5rem
.pf-v6-c-card.pf-m-secondary--pf-v6-c-card--BackgroundColor
(In light theme) #f2f2f2
.pf-v6-c-card.pf-m-secondary.pf-m-selectable:not(.pf-m-current, .pf-m-selected)--pf-v6-c-card--BorderColor
(In light theme) #8c8c8c
.pf-v6-c-card.pf-m-secondary.pf-m-selectable:not(.pf-m-current, .pf-m-selected)--pf-v6-c-card--BorderWidth
1px
.pf-v6-c-card.pf-m-plain--pf-v6-c-card--BorderColor
transparent
.pf-v6-c-card.pf-m-plain--pf-v6-c-card--BackgroundColor
transparent
.pf-v6-c-card.pf-m-plain.pf-m-selectable--pf-v6-c-card--BorderColor
(In light theme) #8c8c8c
.pf-v6-c-card.pf-m-plain.pf-m-selectable--pf-v6-c-card--BorderWidth
1px
.pf-v6-c-card.pf-m-plain.pf-m-selectable.pf-m-current--pf-v6-c-card--BorderColor
(In light theme) #0066cc
.pf-v6-c-card.pf-m-plain.pf-m-selectable.pf-m-current--pf-v6-c-card--BorderWidth
3px
.pf-v6-c-card__header .pf-v6-c-card__title--pf-v6-c-card--first-child--PaddingBlockStart
0
.pf-v6-c-card__header .pf-v6-c-card__title--pf-v6-c-card__title--not--last-child--PaddingBlockEnd
0
.pf-v6-c-card__header.pf-m-toggle-right--pf-v6-c-card__header-toggle--MarginInlineEnd
calc(0.5rem * -1)
.pf-v6-c-card__header.pf-m-toggle-right--pf-v6-c-card__header-toggle--MarginInlineStart
0.5rem
.pf-v6-c-card__header.pf-m-wrap--pf-v6-c-card__actions--PaddingInlineStart
0
.pf-v6-c-card__actions.pf-m-no-offset--pf-v6-c-card__actions--MarginBlockStart
0
.pf-v6-c-card__actions.pf-m-no-offset--pf-v6-c-card__actions--MarginBlockEnd
0
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__label, .pf-v6-c-radio__label, .pf-v6-c-card__clickable-action):hover--pf-v6-c-card--BorderColor
(In light theme) #4394e5
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__label, .pf-v6-c-radio__label, .pf-v6-c-card__clickable-action):hover--pf-v6-c-card--BorderWidth
2px
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:checked) ~ :is(.pf-v6-c-radio__label, .pf-v6-c-check__label)--pf-v6-c-card--BorderColor
(In light theme) #0066cc
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:checked) ~ :is(.pf-v6-c-radio__label, .pf-v6-c-check__label)--pf-v6-c-card--BorderWidth
3px
.pf-v6-c-card__selectable-actions .pf-v6-c-card__clickable-action:where(:focus-visible)--pf-v6-c-card--BorderColor
(In light theme) #4394e5
.pf-v6-c-card__selectable-actions .pf-v6-c-card__clickable-action:where(:focus-visible)--pf-v6-c-card--BorderWidth
2px
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:focus-visible):where(:checked) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--BorderColor
(In light theme) #0066cc
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:focus-visible):where(:checked) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--BorderWidth
3px
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card__title-text--Color
(In light theme) #707070
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card__body--Color
(In light theme) #707070
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card__footer--Color
(In light theme) #707070
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--BackgroundColor
(In light theme) #c7c7c7
.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label)--pf-v6-c-card--BorderColor
transparent
.pf-v6-c-card__header .pf-v6-c-button.pf-m-inline:disabled--pf-v6-c-button--disabled--Color
(In light theme) #707070
.pf-v6-c-card__expandable-content--pf-v6-c-card--first-child--PaddingBlockStart
0