---
layout : 'default'
css : 'card'
element : 'card'
elementType : 'view'
title : 'Card'
description : 'A card view lists site content as a playing card'
type : 'UI View'
themes : ['Default', 'Basic']
---
<%- @partial('header') %>
Cards are designed to be flexible to your content. Meta content can include custom elements related to your content. Each child element inside the extra content or meta group will be automatically formatted to be spaced appropriately.
This example includes a category group, a sign-up date, and a friend count which are arbitrary class names used to format users as cards.
Common actions may contain special formatting, like "star" or "heart". To attach events, on a user action, please check out the state behavior.
Cute Dog
Like
Favorite
Description
A card can contain a description with a single or multiple paragraphs
Cute Dog
2 days ago
Cute dogs come in a variety of shapes and sizes. Some cute dogs are cute for their adorable faces, others for their tiny stature, and even others for their massive size.
Many people also have their own barometers for what makes a cute dog.
Extra Content
A card can contain extra content meant to be formatted separately from the main content
Cute Dog
2 days ago
Cute dogs come in a variety of shapes and sizes. Some cute dogs are cute for their adorable faces, others for their tiny stature, and even others for their massive size.
Many people also have their own barometers for what makes a cute dog.
121 Votes
Image
A card can contain an image
Cute Dog
2 days ago
Cute dogs come in a variety of shapes and sizes. Some cute dogs are cute for their adorable faces, others for their tiny stature, and even others for their massive size.
Many people also have their own barometers for what makes a cute dog.
121 Votes
Variations
Link Card
A card can be formatted so that the entire contents link to another page