How It Works — Vertical Timeline
blockmarketingVertical numbered timeline with a continuous rail, per-stage status badge, outcome bullets, and a paired detail card — for onboarding or implementation narratives that need more room than a three-up row.
Installation
$pnpm dlx shadcn-vue@latest add https://uipkge.dev/r/vue/how-it-works-timeline.json$npx shadcn-vue@latest add https://uipkge.dev/r/vue/how-it-works-timeline.json$yarn dlx shadcn-vue@latest add https://uipkge.dev/r/vue/how-it-works-timeline.json$bunx shadcn-vue@latest add https://uipkge.dev/r/vue/how-it-works-timeline.jsonNamed registry:
npx shadcn-vue@latest add @uipkge/how-it-works-timelineInstalls to:app/components/blocks/Variants
Loading interactive previews…
Loading interactive previews…
Files installed (1)
app/components/blocks/HowItWorksTimeline.vue4.2 kB
<script setup lang="ts"> import { Check, Clock } from 'lucide-vue-next' import { Badge } from '@/components/ui/badge' import { Button } from '@/components/ui/button' import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card' import { Separator } from '@/components/ui/separator' import { Timeline, TimelineContent, TimelineDescription, TimelineHeader, TimelineItem, TimelineMedia, TimelineTitle, } from '@/components/ui/timeline' const stages = [ { title: 'Kickoff & access', status: 'Week 1', done: true, body: 'A shared channel, a named engineer, and read-only credentials. Nothing is provisioned until scope is signed off.', outcomes: ['Workspace provisioned', 'SSO connected', 'Data contract agreed'], }, { title: 'Model your data', status: 'Week 2', done: true, body: 'We mirror your warehouse schema and reconcile it against last quarter’s numbers before anything is published.', outcomes: ['Schema mirrored', 'Historical backfill', 'Reconciliation signed off'], }, { title: 'Pilot with one team', status: 'Week 3–4', done: false, body: 'A single team runs their real reporting cycle on it. We fix what they hit before anyone else sees it.', outcomes: ['Pilot cohort live', 'Feedback loop open', 'Runbook drafted'], }, { title: 'Roll out & hand over', status: 'Week 5', done: false, body: 'Permissions, alerting, and the runbook move to your team. Support stays on call through the first close.', outcomes: ['Org-wide access', 'Alerting configured', 'Ownership transferred'], }, ] </script> <template> <section data-slot="how-it-works-timeline" class="bg-background"> <div class="mx-auto max-w-5xl px-6 py-20 lg:py-28"> <div class="max-w-2xl"> <Badge variant="secondary">Implementation</Badge> <h2 class="mt-4 text-3xl font-semibold tracking-tight sm:text-4xl">From kickoff to hand-over in five weeks</h2> <p class="text-muted-foreground mt-3 text-lg"> The same plan we run for every rollout. No phase starts before the one above it is signed off. </p> </div> <Timeline class="mt-14" density="comfortable"> <TimelineItem v-for="(stage, index) in stages" :key="stage.title" :status="stage.done ? 'success' : 'default'"> <TimelineMedia variant="outline" :status="stage.done ? 'success' : 'muted'"> <Check v-if="stage.done" class="size-4" aria-hidden="true" /> <span v-else class="font-mono text-xs font-semibold">{{ String(index + 1).padStart(2, '0') }}</span> </TimelineMedia> <TimelineContent> <TimelineHeader> <TimelineTitle as="h3" class="text-base font-semibold">{{ stage.title }}</TimelineTitle> <Badge :variant="stage.done ? 'secondary' : 'outline'" class="gap-1.5 font-normal"> <Clock class="size-3" aria-hidden="true" /> {{ stage.status }} </Badge> </TimelineHeader> <TimelineDescription class="mt-2 max-w-prose leading-relaxed"> {{ stage.body }} </TimelineDescription> <Card class="mt-4"> <CardHeader class="pb-3"> <CardTitle class="text-muted-foreground text-xs font-medium tracking-wide uppercase"> What you have at the end </CardTitle> </CardHeader> <CardContent> <ul class="grid gap-2 sm:grid-cols-3"> <li v-for="outcome in stage.outcomes" :key="outcome" class="text-foreground flex items-start gap-2 text-sm" > <Check class="text-primary mt-0.5 size-3.5 shrink-0" aria-hidden="true" /> <span>{{ outcome }}</span> </li> </ul> </CardContent> </Card> </TimelineContent> </TimelineItem> </Timeline> <Separator /> <div class="mt-8 flex flex-wrap items-center gap-4"> <Button>Book an implementation call</Button> <Button variant="ghost">Download the rollout plan</Button> </div> </div> </section> </template>
Raw manifest:https://uipkge.dev/r/vue/how-it-works-timeline.json