The v-card component is a versatile component that can be used for anything from a panel to a static image. The card component has numerous helper components to make markup as easy as possible. Components that have no listed options use Vue's functional component option for faster rendering and serve as markup sugar to make building easier.

Usage

A card has 3 basic components, v-card-title, v-card-text and v-card-actions.

API

v-card

Examples

Outlined cards

An outlined card has 0 elevation and contains a soft border.

Intermediate

The v-card component is useful for wrapping content.

Information card

Cards are entry points to more detailed information. To keep things concise, ensure to limit the number of actions the user can take.

Media with text

Using the layout system, we can add custom text anywhere within the background.

Grids

Using grid lists, you can create beautiful layouts.

Horizontal cards

Using v-flex, you can create customized horizontal cards. Use the contain property to shrink the v-img to fit inside the container, instead of covering.

Custom actions

With a simple conditional, you can easily add supplementary text that is hidden until opened.

Twitter card

The v-card component has multiple children components that help you build complex examples without having to worry about spacing. This example is comprised of the v-card-title, v-card-text and v-card-actions components.

Loading card

Cards can be set to a loading state when processing a user action. This disables further actions and provides visual feedback with an indeterminate v-progress-linear.

Weather card

Using v-list-items and a v-slider, we are able to create a unique weather card. The list components ensure that we have consistent spacing and functionality while the slider component allows us to provide a useful interface of selection to the user.

Advanced

Using v-list-item and v-img allows us to create unique card layouts in an advanced setting

Edit this page | language on Github