title
string
The subtitle property sets the value of the title property of the card.
Deprecated
Deprecated: Use the new `<Card>` component instead.
Provides layout for a ContentCard. It consists of an image, subtitle and a title.
<Boxstyle={{maxInlineSize: '380px'}}><ContentCardhref="/"image={{alt: 'Woman gets a sticker on her arm',src: '/design-system/docs/images/example-image.jpg'}}subtitle="Article"title="Understanding how metrics can support real-world decisions"titleLevel="h5"/></Box>
<Boxstyle={{maxInlineSize: '380px'}}><ContentCardhref="/"icon={<PlayIcon />}image={{alt: 'Masked woman with sticker on arm',src: '/design-system/docs/images/example-image.jpg'}}subtitle="Webinar"title="Understanding how metrics can support real-world decisions"titleLevel="h5"/></Box>
title
string
The subtitle property sets the value of the title property of the card.
subtitle
string
The subtitle property sets the value of the title property of the card.
titleLevel
"h2" | "h3" | "h4" | "h5"
The titleLevel property sets the heading level of the title.
image
ContentCardImageProps
The image property sets the value of the image and the alt text.
className
string
The className property sets the value of the class attribute of the element.
icon
ReactNode
href
string
atoms
Applies permitted design system styles. See styling documentation for more.