Member-only story
Vuetify — Timelines
3 min readJan 4, 2021
Vuetify is a popular UI framework for Vue apps.
In this article, we’ll look at how to work with the Vuetify framework.
Timelines
We can use the v-timeline
component to display data chronologically.
For example, we can write:
<template>
<v-timeline :dense="$vuetify.breakpoint.smAndDown">
<v-timeline-item color="purple lighten-2" fill-dot right>
<v-card>
<v-card-title class="purple lighten-2">
<v-icon dark size="42" class="mr-4">mdi-magnify</v-icon>
<h2 class="display-1 white--text font-weight-light">Title 1</h2>
</v-card-title>
<v-container>
<v-row>
<v-col cols="12" md="10">Lorem ipsum dolor sit amet, no nam oblique veritus.</v-col>
<v-col class="hidden-sm-and-down text-right" md="2">
<v-icon size="64">mdi-calendar-text</v-icon>
</v-col>
</v-row>
</v-container>
</v-card>
</v-timeline-item> <v-timeline-item color="amber lighten-1" fill-dot left small>
<v-card>
<v-card-title class="amber lighten-1 justify-end">
<h2 class="display-1 mr-4 white--text font-weight-light">Title 2</h2>
<v-icon dark size="42">mdi-home-outline</v-icon>
</v-card-title>
<v-container>
<v-row>…