Examples
Basic cards
Basic cards typically have a <CardTitle>
, <CardBody>
and <CardFooter>
. You may omit these components as needed, but it is recommended to at least include a <CardBody>
to provide details about the card item.
Secondary cards
You can apply secondary background color styling to a card by setting the variant
property to secondary
.
Modifiers
You can further modify the styling of the card's content by using the properties outlined below. In this example, you can enable each modifier by selecting its respective checkbox.
Most modifiers can be used in combination with each other, except for isCompact
and isLarge
, since they are contradictory.
Modifier | Description |
---|---|
isCompact | Modifies the card to include compact styling. Should not be used with isLarge. |
isLarge | Modifies the card to be large. Should not be used with isCompact. |
isFullHeight | Modifies the card so that it fills the total available height of its container. |
isPlain | Modifies the card to include plain styling, which removes the border and background. |
Header images and actions
You can include header actions with the actions
property of <CardHeader>
. The following example includes an image using the Brand component, and also includes a kebab dropdown and a checkbox in <CardHeader>
actions.
The actions
property for <CardHeader>
includes the hasNoOffset
property, which is false
by default. When hasNoOffset
is false
, a negative margin is applied to help align default-sized card titles with card actions.
You may use hasNoOffset
to remove this negative margin, which better aligns card actions in implementations that use large card titles or tall header images, for example.
Select the "actions hasNoOffset" checkbox in the example below to illustrate this behavior.
Title inline with images and actions
Moving <CardTitle>
within the <CardHeader>
will style it inline with any images or actions.
Card header without title
Card actions can be placed in the card header even without a <CardTitle>
.
Images can also be placed in the card header without a <CardTitle>
.
With HTML heading element
You may use the component
property to place the card's title within an HTML heading element.
Title within an <h4> element
With multiple body sections
You may use multiple body sections to visually separate blocks of content.
With a primary body section that fills
<CardBody>
sections will fill the available height of the card when isFilled
equals {true}
, which is the default value. Set isFilled
to {false}
to disable this behavior for one or more body sections. The remaining available height of the card will be split between any <CardBody>
section that does not set isFilled
to {false}
.
A common use case of this is to set all but one body section to isFilled={false}
so that a primary body section fills the available space of the card as seen in the example below. This example has 3 <CardBody>
sections, two of which set isFilled
to {false}
. The third <CardBody>
fills the remaining height of the card.
Selectable
A selectable card can be selected by clicking anywhere within the card.
You must avoid rendering any other interactive content within the <Card>
when it is meant to be selectable only. Refer to our actionable and selectable example if you need a card that is both selectable and has other interactive, actionable content.
Single selectable
When a group of single selectable cards are related, you must pass the same name
property to each card's selectableActions
property.
Actionable
An actionable card can perform an action or navigate to a link by clicking anywhere within the card. To open a link in a new tab or window, pass the isExternalLink
property to selectableActions
.
You can pass the isClicked
property to <Card>
to convey that a card is the currently clicked one, such as when clicking a card would open a primary-detail view. This must not be used simply for "selection" of a card, and you should instead use our selectable card or single selectable card.
When a card is meant to be actionable only, you must avoid rendering any other interactive content within the <Card>
, similar to selectable cards.
Actionable and selectable
A card can be selectable and have additional interactive content by passing both the isClickable
and isSelectable
properties to <Card>
. The following example shows how the actionable functionality can be rendered anywhere within a selectable card.
When passing interactive content to an actionable and selectable card that is disabled, you should also ensure the interactive content is disabled as well, if applicable.
Expandable cards
A card can be made expandable using the isExpanded
property. In the collapsed state, only the card header is shown, and the user can click the caret to view the rest of the card content.
Place any content that you want to be hidden within the <CardExpandableContent>
component.
Expandable with icon
An image can be placed in the card header to show users an icon beside the expansion caret.
Cards as tiles
Sets of selectable cards can be used as tiles, which are static options that users can select.
They can be either single selectable or multi selectable, by passing the variant
property to the selectableActions
object. You can also toggle the visibility of the radio or checkbox by passing the isHidden
property to the selectableActions
object.
Single selectable tiles
To prevent users from selecting more than 1 tile in a set, set variant
to "single" within the selectableActions
object of <CardHeader>
.
Multi selectable tiles
To allow users to select more than 1 tile in a set, do not set variant
within the selectableActions
object of <CardHeader>
.
Props
Card
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Content rendered inside the Card | |
className | string | Additional classes added to the Card | |
component | unknown | 'div' | Sets the base component to render. defaults to div |
id | string | '' | ID of the Card. Also passed back in the CardHeader onExpand callback. |
isClickable | boolean | false | Flag indicating that the card is clickable and contains some action that triggers on click. |
isClicked | boolean | false | Flag indicating whether a card that is either only clickable or that is both clickable and selectable is currently clicked and has clicked styling. |
isCompact | boolean | false | Modifies the card to include compact styling. Should not be used with isLarge. |
isDisabled | boolean | false | Flag indicating that a clickable or selectable card is disabled. |
isExpanded | boolean | false | Flag indicating if a card is expanded. Modifies the card to be expandable. |
isFullHeight | boolean | false | Cause component to consume the available height of its container |
isLarge | boolean | false | Modifies the card to be large. Should not be used with isCompact. |
isPlain | boolean | false | Modifies the card to include plain styling; this removes border and background |
isSelectable | boolean | false | Flag indicating that the card is selectable. |
isSelected | boolean | false | Flag indicating whether a card that is either selectable only or both clickable and selectable is currently selected and has selected styling. |
ouiaId | number | string | Value to overwrite the randomly generated data-ouia-component-id. | |
ouiaSafe | boolean | true | Set the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false. |
variant | 'default' | 'secondary' | 'default' | Card background color variant |
CardHeader
Name | Type | Default | Description |
---|---|---|---|
actions | CardHeaderActionsObject | Actions of the card header | |
children | React.ReactNode | Content rendered inside the card header | |
className | string | Additional classes added to the card header | |
id | string | ID of the card header. | |
isToggleRightAligned | boolean | Whether to right-align expandable toggle button | |
onExpand | (event: React.MouseEvent, id: string) => void | Callback expandable card | |
selectableActions | CardHeaderSelectableActionsObject | Selectable actions of the card header | |
toggleButtonProps | any | Additional props for expandable toggle button |
CardHeaderActionsObject
Name | Type | Default | Description |
---|---|---|---|
actionsrequired | React.ReactNode | Actions of the card header | |
className | string | Additional classes added to the actions wrapper | |
hasNoOffset | boolean | Flag indicating that the actions have no offset |
CardHeaderSelectableActionsObject
Name | Type | Default | Description |
---|---|---|---|
className | string | Additional classes added to the selectable actions wrapper | |
hasNoOffset | boolean | Flag indicating that the actions have no offset | |
isChecked | boolean | ||
isExternalLink | boolean | Flag to indicate whether a clickable-only card's link should open in a new tab/window. | |
isHidden | boolean | Flag indicating the action is hidden | |
name | string | Name for the input element of a selectable card. | |
onChange | (event: React.FormEvent<HTMLInputElement>, checked: boolean) => void | Callback for when a selectable card input changes | |
onClickAction | (event: React.MouseEvent) => void | Action to call when a clickable-only card is clicked. This cannot be combined with the to prop. | |
selectableActionAriaLabel | string | Adds an accessible name to the input of a selectable card or clickable button/anchor of a clickable-only card. This or selectableActionAriaLabelledby is required for clickable-only cards. | |
selectableActionAriaLabelledby | string | A single or list of space-delimited ID's that provide an accessible name to the input of a selectable card or clickable button/anchor of a clickable-only card. This or selectableActionAriaLabelledby is required for clickable-only cards. | |
selectableActionId | string | Custom ID passed to the selectable card's input or a clickable-only card's button/anchor. If omitted, a random unique ID will be assigned to a selectable card's input. | |
selectableActionProps | any | Additional props spread to a selectable card input or clickable-only card's button/anchor. | |
to | string | Link to navigate to when a clickable-only card is clicked. This cannot be combined with the onClickAction prop. | |
variant | 'single' | 'multiple' | Determines the type of input to be used for a selectable card. |
CardTitle
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Content rendered inside the CardTitle | |
className | string | Additional classes added to the CardTitle | |
component | unknown | 'div' | Sets the base component to render. defaults to div |
CardBody
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Content rendered inside the Card Body | |
className | string | Additional classes added to the Card Body | |
component | unknown | 'div' | Sets the base component to render. defaults to div |
isFilled | boolean | true | Enables the body Content to fill the height of the card |
CardFooter
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Content rendered inside the Card Footer | |
className | string | Additional classes added to the Footer | |
component | unknown | 'div' | Sets the base component to render. defaults to div |
CardExpandableContent
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Content rendered inside the Card Body | |
className | string | Additional classes added to the Card Body |
CSS variables
Expand or collapse column | Selector | Variable | Value | |
---|---|---|---|---|
.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) #c7c7c7 | ||
| ||||
.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 | 500 | ||
| ||||
.pf-v6-c-card | --pf-v6-c-card__title-text--LineHeight | 1.3 | ||
| ||||
.pf-v6-c-card | --pf-v6-c-card--c-button--disabled--Color | (In light theme) #4d4d4d | ||
| ||||
.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-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 | 200ms | ||
| ||||
.pf-v6-c-card | --pf-v6-c-card--m-expanded__header-toggle-icon--Rotate | 90deg | ||
.pf-v6-c-card | --pf-v6-c-card--m-selectable--BorderWidth | 1px | ||
| ||||
.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 | 2px | ||
| ||||
.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 | 2px | ||
| ||||
.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--focus--BorderColor | (In light theme) #4394e5 | ||
| ||||
.pf-v6-c-card | --pf-v6-c-card--m-selectable--focus--BorderWidth | 1px | ||
| ||||
.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 | 2px | ||
| ||||
.pf-v6-c-card | --pf-v6-c-card--m-selectable--m-disabled__title-text--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-card | --pf-v6-c-card--m-selectable--m-disabled__body--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-card | --pf-v6-c-card--m-selectable--m-disabled__footer--Color | (In light theme) #4d4d4d | ||
| ||||
.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 | 2px | ||
| ||||
.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-secondary--BorderColor | transparent | ||
.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-m-current | --pf-v6-c-card--BorderColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-card.pf-m-current | --pf-v6-c-card--BorderWidth | 2px | ||
| ||||
.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 | 2px | ||
| ||||
.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.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--BorderColor | transparent | ||
| ||||
.pf-v6-c-card.pf-m-secondary | --pf-v6-c-card--BackgroundColor | (In light theme) #f2f2f2 | ||
| ||||
.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__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__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__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--m-selectable--BorderWidth | 2px | ||
| ||||
.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 | 1px | ||
| ||||
.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 | 2px | ||
| ||||
.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) #4d4d4d | ||
| ||||
.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) #4d4d4d | ||
| ||||
.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) #4d4d4d | ||
| ||||
.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) #4d4d4d | ||
| ||||
.pf-v6-c-card__expandable-content | --pf-v6-c-card--first-child--PaddingBlockStart | 0 |