# Cards

Group similar content together, and to assist with responsive layout

# Design Best Practices

Do

Don't

# How to

There are two approaches for cards. Which one is best will depend on your use case.

# Option A

Card Sections are useful if:

  • You need to make use of any of these more complex card styles
  • You want to have multiple sections of content within one card component and keep it organized.

# Option B

Card with Padding is useful if:

  • You want the default card padding around all edges. None of the content needs to go right to the end of the card.
  • The content within your card is pretty simple, e.g. just a paragraph.

# Not sure if you should use a card?

Remember that many components can have similar properties of a card, but not actually use the card component (for example the Dropdown Menu).

Only use the c-card component if you need to:

  • Leverage built-in default padding (24px top/bottom and 28px left/right)
  • Have the card default box shadow, border radius and title styling
  • Make use of the extra benefits of the 'Sections' functionality as outlined below

# Layout & Spacing

# Examples

# Card with Padding

# Card Clickable

Provide a meaningful accessible context for the content of this aria region here.

Innovation bcorp spark fist bump Pilkington MyGoodness passion whale.

Adaptability Moonshot
Code
Implementation Requirements

# Plain Section

Innovation bcorp spark fist bump Pilkington MyGoodness passion whale.

Code
Implementation Requirements

# Muted Section

I am a muted header

Innovation bcorp spark fist bump Pilkington MyGoodness passion whale.

Givatron star track dibs

Problem-tunity do the right thing impact

I am a muted middle section

Givatron star track dibs

Problem-tunity do the right thing impact

Innovation bcorp spark fist bump Pilkington MyGoodness passion whale.

I am a muted bottom section

Code
Implementation Requirements

# Header Section

Problem-tunity do the right thing impact

Innovation bcorp spark fist bump Pilkington MyGoodness passion whale.

Code
Implementation Requirements

# 16:9 Hero Section

Problem-tunity do the right thing impact

Innovation bcorp spark fist bump Pilkington MyGoodness passion whale.

Code
Implementation Requirements

# 4:3 Hero Section

Problem-tunity do the right thing impact

Innovation bcorp spark fist bump Pilkington MyGoodness passion whale.

Code
Implementation Requirements

# API for Vue Components

# SkyCard

Props
Slots