Version sidebar — Changelog block
Freechangelog-version-sidebar · for changelog, landing, app pages
Version sidebar
Versions listed by year on the left, the chosen release in full on the right: a developer tool or a long release history
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/changelog-version-sidebarUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import ChangelogVersionSidebar from '@/components/trame/blocks/changelog/changelog-version-sidebar.vue'
const props = {
title: "What’s changing in the shop",
lead: "Every improvement and every fix, in the order we released them.",
entries: [
{
date: "October 2, 2026",
month: "October 2026",
version: "2.6",
title: "Simpler online returns",
media: "https://images.unsplash.com/photo-1631010231130-5c7828d9a3a7?w=1600&q=80",
alt: "A cardboard package with its return label",
more: {
label: "Read the details",
action: "changelog"
},
summary: "Requesting a return now takes two steps instead of five.",
items: [
{
kind: "new",
text: "The return label is emailed as soon as you make the request."
},
{
kind: "improved",
text: "Return package tracking now shows in your account."
}
]
},
{
date: "October 2, 2026",
month: "October 2026",
version: "2.5.1",
title: "Back-to-school fixes",
items: [
{
kind: "fixed",
text: "The cart sometimes kept an expired promo code."
},
{
kind: "fixed",
text: "Sold-out sizes no longer appeared grayed out on mobile."
}
]
}
],
feed: {
label: "Follow via RSS",
url: "/changelog.xml"
},
options: {
eyebrow: "Release notes"
}
}
</script>
<template>
<ChangelogVersionSidebar v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe changelog’s title ("What changes") |
| lead | string | Wordsone sentence on what this page lists |
| entries* | Entry[] | Datathe releases the merchant published, newest first |
| feed | Feed | the link to the feed: its words and the page action it runs |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Entry entries[] · 9 props
| Prop | Type | Description |
|---|---|---|
| date* | string | Wordsthe release date, as the merchant writes it ("14 March 2026") |
| version | string | Wordsthe version or issue label, if there is one ("2.4") |
| month | string | Wordsthe month or period this entry is filed under ("March 2026"), used by month-index |
| title* | string | Wordsthe release in a few words |
| summary | string | Wordsone sentence on the release |
| media | string | Picturea screenshot or picture of the release, used by entries-with-media and version-sidebar |
| alt | string | Wordswhat the screenshot shows |
| more | More | where to read more about this release |
| items* | Item[] | the entry’s items, in order |
More entries[].more · 2 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Words"Read the details" |
| action* | string | Actiona named action of the page |
Item entries[].items[] · 2 props
| Prop | Type | Description |
|---|---|---|
| kind* | 'new' | 'improved' | 'fixed' | 'removed' | what kind of change it is |
| text* | string | Wordsthe change in one sentence |
Feed feed · 3 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Words"Follow by RSS feed" |
| action | string | Actiona named action of the page |
| url | string | Designan address outside the app |
Options options · 3 props
| Prop | Type | Description |
|---|---|---|
| showVersion | boolean | whether each entry’s version is shown |
| eyebrow | string | Wordswhat this is ("Release notes") |
| mood | 'inverse' | 'brand' | 'warm' | 'tint' | string | a 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).
| Member | What it is for |
|---|---|
| href | the address an action leads to, or null to hide what leads there |
| act | runs a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error } |
| can | whether the page has this action |
| asset | a picture’s address as your app serves it |
| Link | your router’s link component |
| cartCount | the cart badge’s number |
| cartDrawer | whether your app has a cart drawer |
| cartOpen | whether the cart drawer is open |
| label | your word for an interface key, or undefined to keep the block’s own |
The words it says itself, in English and French; label(key) replaces any of them:
| Key | English | French |
|---|---|---|
| newsletter.already | You are already subscribed. | Vous êtes déjà inscrit. |
| newsletter.done | Done: you are subscribed. | C’est noté : vous êtes inscrit. |
| newsletter.invalid | Check the email address. | Vérifiez l’adresse e-mail. |
| newsletter.tooMany | Too many attempts, try again in a moment. | Trop de tentatives, réessayez dans un moment. |
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
- Asks your app through actions:
entries[].more,feed - Reads
changelogfrom your app
A changelog section, for changelog, landing, app pages; it uses @lucide/vue, clsx, motion, tailwind-merge.
Built with
The components this block is made of; each one installs on its own too.
More changelog blocks
- Programme updates rail: Dated programme changes along a rail; the merchant’s own only.
- Release banner: A compact announcement with one main link, for the merchant's own release only.
- Release history strip: A horizontal release history with supplied current markers, for the merchant's own releases only.
- Roadmap progress bars: what is underway, with how far each has come: a few items the merchant measures.
- Roadmap quarter lanes: items filed by quarter, each with its status: the overview of what is shipped, underway and planned.
- Software releases platform columns: a desktop app built for several systems: one column per system with its main button and the other architectures as quiet rows; the merchant’s own builds and requirements only.
- Software releases product sheet: one main build to install: a single card with the version set large, the requirements as a checklist and one big button; the merchant’s own builds only.
- Software releases version ledger: software whose visitors pick a precise version: every release as a ruled group, the latest open, each file a row with its size; the merchant’s own versions only.