History figures list — Timeline block

Pro

timeline-history-figures-list · for about pages

History figures list

Large year numerals in a column, title and text beside them: two to six milestones that deserve weight; the merchant’s own only.

Documentation

Installation

One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).

pnpm dlx shadcn-vue@latest add @trame/timeline-history-figures-list

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import TimelineHistoryFiguresList from '@/components/trame/blocks/timeline/timeline-history-figures-list.vue'

const props = {
title: "Our story in dates",
lead: "What worked, what didn’t, and what we kept from it.",
entries: [
{
year: "2012",
title: "A workbench and a machine",
text: "Camille opens the workshop in a borrowed garage and sews the first bags at night.",
image: "https://images.unsplash.com/photo-1787005241178-c9006ea9610b?w=1600&q=80",
alt: "Hands tracing a template’s outline in pencil on a piece of leather"
},
{
year: "2013",
title: "The first model sold",
text: "The “Brise” bag goes on sale in a run of twenty. After a month, only one is left in stock.",
image: "https://images.unsplash.com/photo-1657603738389-951c374b740c?w=1600&q=80",
alt: "A cognac leather satchel with two pockets and its shoulder strap, on a light background"
}
],
footnote: "We keep the bad years too: they taught us as much as the good ones."
}
</script>

<template>
<TimelineHistoryFiguresList v-bind="props" />
</template>

Props

Each prop says who changes it: Words, Picture, Action, Design, Data.* required.

PropTypeDescription
title*stringWordswhat the story is ("Our story in dates")
leadstringWordsone sentence introducing it
entries*Entry[]the merchant’s own milestones, oldest first
footnotestringWordsa line stating a limit or a promise ("We keep the bad years too.")
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Entry entries[] · 5 props
PropTypeDescription
year*stringWordsthe date as the merchant writes it ("2012", "March 2018"): never computed
title*stringWordswhat happened, in a few words
textstringWordsone or two sentences, including what went wrong when it did
imagestringPicturea picture: a root-relative path (/media/…) or an absolute URL
altstringWordsthe picture’s description
Options options · 1 props
PropTypeDescription
mood'inverse' | 'brand' | 'warm' | 'tint' | stringa band of the page that redefines the theme surfaces inside it
What it asks your app for

The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).

MemberWhat it is for
labelyour word for an interface key, or undefined to keep the block’s own

Features

  • Every word in the server HTML
  • Same markup in Vue and React
  • Theme tokens only: every theme, light and dark
  • Shows what you give it, invents nothing
  • Subtle motion: one short reveal; still under reduced motion
  • Real buttons and links, a visible focus

A timeline section, for about pages; it uses clsx, motion, tailwind-merge.

More timeline blocks

  • Object chronicle split: one picture of the first product beside its dated changes: the history of a single object; the merchant’s own only.
  • Visual chronicle alternating: cards on either side of a centre line, each with its picture: a visual story with photographs; the merchant’s own only.
  • Visual chronicle picture rail: a line across the page with a small landscape picture above each point and the year, title and words under it, running past the page’s edge and scrolled sideways: five to ten dated moments with pictures, lighter than alternating; the merchant’s own only.
  • Visual chronicle picture slides: one chapter at a time, its picture large and its words beside, the years on an axis under it as the navigation: a brand story with a few strong photographs; the merchant’s own only.
  • Visual chronicle sticky year: the year of the entry in view set huge in a column that stays in place while the entries (picture, title, words) scroll beside it: a long history, a house or a family business where the passing years are the theme; the merchant’s own only.

All 9 timeline blocks