<

Voyager

Voyager

Cards

Cards are used to group similar concepts and tasks together to make information easier to scan, read, and act on.

HTML Copy

<a class="qw-card">
    <div class="qw-card_inner">
        <div class="qw-card_header">
            <h3 class="qw-card_title h4 m-0">Card Title</h3>
        </div>
        <div class="qw-card_separator"></div>
        <div class="qw-card_body">Card Body</div>
    </div>
</a>
                

Cards should use a heading that sets clear expectations about the card’s purpose, paragraphs that put the most critical information first, and (optionally) calls to action on the bottom to direct user action.

Limit the length of content text in cards. Their purpose is to give users a quick overview of information.

All cards must include:

  • Title
  • Separator
  • Description
  • Interactive content - a button or link (the card itself can be a link)

Optional card elements are:

  • Subtitle
  • Avatar
  • Status
  • Footer links

Alternate card styles are:

  • Centered
  • Large/wide
  • Horizontal

Do

  1. All cards share the same elements in the given context

Don't

  1. Mix and match card styles and elements
  2. Put cards on top of cards. This creates too many layers of depth.

Basic cards

Since cards are used to group similar concepts, all cards are contained in a parent .qw-cards element. Each card element is assigned a class of .qw-card. Our default card is a block level link, but can be modified to have multiple links, in the footer.

Subtitles

When adding a subtitle, the title and subtitle elements must be wrapped in an additional div for formatting purposes.

Avatars

To represent users or features within the product, an avatar can be added to the card. When adding an avatar or other media, the cards must use the centered style as well (see below). Use large avatars in portrait/vertical orientation, .qw-avatar-lg and in landscape/horizontal use size medium, .qw-avatar-md.

Status

Footer links

In cases where a single action isn't sufficient, the card as a link can be replaced by a card with a link (links) in the footer. Show the most prominent action, and place the remaining actions in a dropdown menu. Footer links may be represented with icons and hidden text descriptions(see Horizontal with footer links below), but text is preferred.

1-on-1s

Manage and create 1-on-1 cycles and templates for your organization.

Users

Manage and create users at your organization.

Small cards

If the contents of the card require less space, a class of .qw-cards_small can be added to .qw-cards to modify the base width of the cards.

Large cards

If the contents of the cards in the UI require more space, a class of .qw-cards_large can be added to modify the breakpoint where the width of the cards change.

Centered

Change the alignment of card contents to centered with .qw-card_centered.

Horizontal

Switch the orientation of cards, particularly those with media/avatars, to horizontal (landscape) with .qw-card_horizontal. These cards should also always use .qw-card_large for the additional width it provides.

Horizontal with footer links

Spaceman Spiff profile pic

Spaceman Spiff

Superhero
Disabled
Location Space Station
Department Exploration

Usage

Selector Summary
.qw-card Creates the card component
.qw-card_title Identifies the title element
.qw-card_subtitle Identifies the subtitle element
.qw-card_separator Creates the separator between the title and body
.qw-card_body Creates the container for the description and main contents of the card
.qw-card_status Creates the container for status elements
.qw-card_footer Creates the footer for actionable elements
.qw-card_large Creates alternate card size
.qw-card_centered Modifies the alignment of card contents
.qw-card_horizontal Switches the layout of the card from vertical (portrait) to horizontal (landscape)