Skip to main content Red Hat Design System logo Contribute on Github v1.4.5

Card

Overview Style Guidelines Demos Code

Installation

rh-card

Slots 4
Slot Name Description
header

If this slot is used, we expect a heading level tag (h1, h2, h3, h4, h5, h6). An icon, svg, or use of the icon component are also valid in this region.

image

Use this slot for the promo variant of the card. Images & CTA's are most often slotted here.

Any

content that is not designated for the header or footer slot, will go to this slot.

footer

Use this slot for anything that you want to be stuck to the base of the card.

Attributes 3 Methods 0 Events 0 CSS Shadow Parts 5 CSS Custom Properties 3 Design Tokens 0
© 2021-2024 Red Hat, Inc. Deploys by Netlify