ContentCard is a flexible, composable card component built with ContentCardHeader, ContentCardBody, and ContentCardFooter sub-components. It can display various content layouts including text, media, and interactive elements.
Semantic HTML
ContentCard and its sub-components render semantic HTML elements by default:
ContentCardrenders as<article>ContentCardHeaderrenders as<header>ContentCardFooterrenders as<footer>
You can override these defaults using the as prop on each component.
Basic Examples
ContentCard uses sub-components for flexible layout. Combine ContentCardHeader, ContentCardBody, and ContentCardFooter to create your card structure.