MiniCard
The
<MiniCard>
<ResourceCard>
<CardGroup>
Example
Group AsideWhen you have the mini resource card sitting aside the main content, be sure to add the
gutterLg
<MiniCard>
Code
GroupAside<CardGroup><MiniCard title="26 characters per MiniCard" href="/demo">![Adobe Acrobat icon](/images/adobe-icon.svg)</MiniCard><MiniCard title="Use the default icon" href="/demo" /><MiniCardtitle="Choose from other icons"href="/demo"actionIcon="arrowRight"/><MiniCard title="Or bring your own" href="/demo">![Github icon](/images/sketch-icon.png)</MiniCard></CardGroup>
<Row><Column colLg={8}>When you have the mini resource card sitting aside the main content, be sure toadd the `gutterLg`, properties to the `<MiniCard>`. This will ensure theMiniCard has the appropriate gutters at the approriate breakpoints.</Column><MiniCardgutterLgtitle="By itself, as an Aside"href="https://gatsby.carbondesignsystem.com">![Sketch icon](/images/sketch-icon.png)</MiniCard></Row>
Props
property | propType | required | default | description |
---|---|---|---|---|
children | node | Use 32x32 image as child, will display in right-hand corner of the card | ||
href | string | Set url for card | ||
title | string | Title for the card | ||
actionIcon | string |
| Action icon, default is launch, options are
| |
className | string | Add custom class name |