Cards


There are four card styles available to use in Vanilla: default, header, highlighted and overlay. Our card component will expand to fill the full width of its parent container.

Default

The purpose of the default card is to display information, without user interaction.

The purpose of the header card is to display information, grouped under a heading.

Highlighted

The purpose of the highlighted card should be used when you can interact with the content.

Overlay

The purpose of the overlay card is to make the text visible in conjunction with a strip image.

Import

To import just this component into your project, copy the snippet below and include it in your main Sass file.

@import 'patterns_card';
@include vf-p-card;

For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.

Design

For more information view the cards design spec, which includes the specification in markdown format and a PNG image.