SquareCard
The
<SquareCard>
<Row className="square-card-group">
Example
Small title here
A short body paragraph describing the card could go here.
Small title here
A short body paragraph describing the card could go here.
(Optional text)
Code
import { Tools } from '@carbon/pictograms-react';<Row className="square-card-group"><SquareCardtitle="A small sentence can go here in conjunction with a pictogram"href="/"><Tools aria-label="Tools" className="my-custom-class" /></SquareCard>
Props
property | propType | required | default | description |
---|---|---|---|---|
children | node | Optional pictogram icon to add to bottom left corner cannot be combined with ‘helperText’ | ||
href | string | Set url for card | ||
smallTitle | bool |
| Set to true to display smaller title | |
title | string | Card title - default is
| ||
actionIcon | string |
| Action icon, default is no ‘ArrowRight’, options are
| |
disabled | bool |
| Set for disabled card | |
className | string | Add custom class name | ||
helperText | string | Optional helper text that appears at the bottom left corner cannot be combined with ‘children’ text. This is only meant for a date or a category name | ||
bodyText | string | Optional body text for card description | ||
color | string |
| Set to
|