Design

Cards are designed to act like a gateway or portal to detailed content around a singular topic. The physical analog for a card is the “trading card” – which usually features an image and/or statistics related to a single subject. Cards make use of outlines or surface boundaries to act as self-contained UI regions that can exist alone or in a group. Cards provide a lot of flexibility when used in UI layouts. If cards don’t contain any buttons, the entire card may act as a click-point, allowing the user to navigate to a dedicated page on the card topic.

Examples

Agenda 2022

Our Corporate Vision

Phosfluorescently engage worldwide methodologies with web-enabled technology. Interactively coordinate proactive e-commerce via process-centric "outside the box" thinking. Completely pursue scalable customer service through sustainable potentialities.

Usage

Cards should be used when a user needs a quick, high-level summary of a subject to make a decision about UI interaction. The content of cards should be kept to a minimum, as cards can quickly become overloaded with content due to their flexible nature. If the gestalt principle of “common region” is required to delineate UI content, the “persistent container” layout should be used instead of a card. A persistent container is not a component, but a type of styled primitive with a self-contained layout.

Card

Props

NameDescriptionTypeRequiredDefault
titletitle of the cardStringtrue ``
subtitleoptional subtitle appears after the optional imageStringfalse``
hrefconverts card into an html anchor tag; cannot be used with actions slotStringfalse``

Events

  • none

Slots

  • image - use to insert an image
  • actions - use to insert optional button(s)
  • default - use to display card content

data-ref-ids

  • feather-card - the main card element