Skip to main contentCarbon Design System

SquareCard

The <SquareCard> component should generally be used inside of a <Row className="square-card-group"> and <Column> component. This allows us to properly space the <Column> components when they wrap on mobile.

Example

Code

components/ImageCard/ImageCard.js
<Row className="square-card-group">
<Column colMd={4} colLg={4} noGutterSm>
<SquareCard
title="Title"
href="/"
bodyText="im body text that is super long maybe a link goes here"
helperText="helper text"
/>
</Column>

Props

propertypropTyperequireddefaultdescription
childrennodeOptional pictogram icon
hrefstringSet url for card
smallTitleboolfalseSet to true to display smaller title
titlestringCard title - default is large
actionIconstringArrowRightAction icon, default is no ‘ArrowRight’, options are Launch, ArrowRight, Download, Disabled, Email
disabledboolfalseSet for disabled card
classNamestringAdd custom class name
helperTextstringOptional helper text that appears at the bottom left corner
bodyTextstringOptional body text for card description