Stack

Component name: <v-stack>

Preview

HTML:
<v-stack size="medium">
  <v-card>This is a card</v-card>
  <v-card>This is a another card</v-card>
  <v-card>Gues what!? Another card</v-card>
</v-stack>
Result:
This is a card
This is a another card
Gues what!? Another card

Examples

Basic

Nested stacks

API

Name Type Description Default
size Number Defines the spacing size between child components.

Valid values: xsmall, small, medium, large, xlarge
medium

Notice

All other properties that are not defined above, will be passed to the component as html attributes. This is especially useful for adding the class attribute.