Component Card
Cards are containers that group related content and information together.
Example

CSS
Additional styling can be added to a card using .cta-link
. This utility class is used to style a link at the bottom of the card. The link color will inherit the card color
property.
Props
Attr | Type | Default | Docs |
---|---|---|---|
button-aria-label | string | This property can be used to set the ARIA label associated with this card (for screen readers). | |
color | "danger" | "info" | "light-gray" | "success" | "transparent" | "warning" | "white" | 'white' | This property will determine the color applied to the card background and border |
match-height | boolean | false | This boolean is used to add 100% height to the card which is helpful when you want the card height to expand to match the height of surrounding elements. |
type | "button" | "default" | 'default' | The type of card. |
Healthy content is accurate and represents our most up-to-date recommendations.
Do you have an idea, or want to help us improve this page? Reach out to us via email.
DTMB-DG-Support@michigan.govNeed help? Visit our Support page to learn how to get assistance, troubleshoot issues, and connect with the team.
Do you have an idea, or want to help us improve this page? Reach out to us via email.
DTMB-DG-Support@michigan.govNeed help? Visit our Support page to learn how to get assistance, troubleshoot issues, and connect with the team.