Displays a single piece of content in a structured, visual card format. — <cs-item-card>
<cs-item-card>
<div slot="header">Resource name</div>
<div slot="description">Resource description</div>
<div slot="footer">Footer content</div>
Main body content
</cs-item-card>
disable-content-paddingsboolean
default: falseRemoves the default padding from the content area.
disable-header-paddingsboolean
default: falseRemoves the default padding from the header area.
full-heightboolean
default: falseMakes the item card stretch to fill the full height of its container.
highlightedboolean
default: falseSpecifies whether the item card is in highlighted state.
metadata-attributesRecord<string, string | undefined>Specifies metadata for analytics in cards
on-clickMouseEventHandler<HTMLElement>Called when the user clicks on the item card.
variantItemCardProps.Variant
default: 'default'Specifies the visual variant of the item card, which controls the border radius and padding.
default - Uses container-level border radius and padding (larger).embedded - Uses compact border radius and padding (smaller).actionsActions to display in the item card header area, typically buttons or links.
defaultMain content of the item card.
descriptionA description or subtitle displayed below the header.
footerFooter content displayed at the bottom of the item card.
headerHeading element of the item card. Use this to add a title or header text.
iconIcon content displayed next to the header.