ResourceCard
The
<ResourceCard>
<Column>
<Row className="resource-card-group">
<Row className="resource-card-group-3-across">
Example
Group two across
Group three across
Code
Group two acrossGroup three across<Row className="resource-card-group"><Column colMd={4} colLg={4} noGutterSm><ResourceCardsubTitle="Carbon Design System"href="https://www.carbondesignsystem.com"></ResourceCard>
With title<Row className="resource-card-group-3-across"><Column colMd={4} colLg={4} noGutterSm><ResourceCardsubTitle="With subtitle"title="Title"aspectRatio="2:1"actionIcon="arrowRight"href="https://gatsby.carbondesignsystem.com">
Only subtitle<Column colMd={4} colLg={4} noGutterSm><ResourceCardsubTitle="With subtitle"title="Title"aspectRatio="2:1"actionIcon="arrowRight"href="https://gatsby.carbondesignsystem.com">
Dark<Column colMd={4} colLg={4} noGutterSm><ResourceCardsubTitle="Only subtitle"actionIcon="download"aspectRatio="2:1"href="https://gatsby.carbondesignsystem.com">
Disabled<Column colMd={4} colLg={4} noGutterSm><ResourceCardsubTitle="Alternate color"title="Dark"aspectRatio="2:1"color="dark"actionIcon="email"href="https://gatsby.carbondesignsystem.com">
<Column colMd={4} colLg={4} noGutterSm><ResourceCardtitle="Disabled card"aspectRatio="2:1"disabledhref="https://gatsby.carbondesignsystem.com"/></Column>
Props
| property | propType | required | default | description | | ----------- | -------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------------- | | children | node | | | Use 32x32 image as child, will display in bottom left of card | | href | string | | | Set url for card | | subTitle | string | | | Smaller title | | title | string | | | Large title | | actionIcon | string | |
launch
launch
arrowRight
download
disabled
calendar
none
dark