--- layout : 'default' css : 'card' title : 'Card' description : 'A card view can be used to list site content as a playing card' type : 'UI View' --- <%- @partial('header') %>

Types

Card

A single card.

Cute Dog
This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.
Dog Doggington

Cards

A group of cards.

Cards must manually be given a width and height that match up to the content that it displays. Content must also be truncated so that each item will not exceed the maximum height.
Cute Dog
This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.
199 Votes
Faithful Dog
5 days ago
Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.
199 Votes
Silly Dog
Silly dogs can be quite fun to have as companions. You never know what kind of ridiculous thing they will do.
199 Votes

Content

Title

A card can contain content a title

Cute Dog
2 days ago
This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.

Metadata

A card can contain content metadata

You can include an arbitrary amount of metadata using your own class conventions, all child elements will automatically be spaced
Cute Dog
2 days ago Animals

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.

Image

A card can contain an image

Variations

Floated Content

Any content element can be floated left or right

You can include an arbitrary amount of metadata using your own class conventions, all child elements will automatically be spaced
Cute Dog
2 days ago Animals
We are one too!
Dog Doggington

Column count

An item list can list how many columns should exist in a row

Cute Dog
This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.
Faithful Dog
Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.
Silly Dog
Silly dogs can be quite fun to have as companions. You never know what kind of ridiculous thing they will do.
Happy Dog
Happy dogs are pretty interesting if you are an unhappy person.

Stackable

Resize your browser to a smaller size to see the cards stack after reaching mobile breakpoints

An item view can have its cards take the full width when below a browser resolution threshold to allow for content to display properly at small sizes

Cute Dog
This dog has some things going for it. Its pretty cute and looks like it'd be fun to cuddle up with.
11 Votes
Faithful Dog
5 days ago
Sometimes its more important to have a dog you know you can trust. But not every dog is trustworthy, you can tell by looking at its smile.
11 Votes