Components
Changelog template
What shipped, newest first: dates that stay in view, linkable versions, tag filters with a count and a product view per release.
pnpm dlx shadcn@latest add @caliper/changelog-templateWhen to use
Use it for
- A public changelog or release notes page.
- Releases with a screen or a log worth showing.
Skip it when
- Internal commit history; link to the repository.
Installation
pnpm dlx shadcn@latest add @caliper/changelog-template
Adds its 8 files to components/ui/, each with its own stylesheet, and installs their packages. No account needed. The first part also adds Caliper UI’s tokens; import them once as in Installation.
Usage
This is the code behind the preview above.
import { FooterBlock } from "@/components/ui/footer-block" import { ChangelogTemplate } from "@/components/ui/changelog-template" const columns = (product: string[], company: string[] = ["About", "Careers", "Contact"], resources: string[] = ["Docs", "Changelog", "Status"]) => [ { title: "Product", links: product.map((label) => ({ label, href: "#" })) }, { title: "Resources", links: resources.map((label) => ({ label, href: "#" })) }, { title: "Company", links: company.map((label) => ({ label, href: "#" })) }, { title: "Legal", links: ["Privacy", "Terms", "DPA"].map((label) => ({ label, href: "#" })) }, ]; const footers: Parameters<typeof FooterBlock>[0] = { brand: "Halden", tagline: "Month-end close for finance teams. Lisbon and London.", columns: columns(["Matching", "Review", "Audit trail", "Pricing"]), newsletter: { label: "The close, monthly", note: "One email at month end. Unsubscribe in one click.", onSubmit: () => new Promise((resolve) => setTimeout(resolve, 600)) }, legal: "© 2026 Halden Ltd", status: { label: "All systems normal", href: "#" } }; const startTrial = { label: "Start the trial", href: "#" }; const siteNav = (current?: string) => [ { label: "Product", href: "#product" }, { label: "Pricing", href: "#pricing", current: current === "pricing" }, { label: "Customers", href: "#customers" }, { label: "Changelog", href: "#changelog", current: current === "changelog" }, ]; function ReleaseRules() { return ( <div className="grid gap-2 text-[13px]"> {[["Stripe payouts", "matches 1,204 lines / month"], ["SaaS annual plans", "matches 86 lines / month"], ["Payroll providers", "new · matches 31 lines / month"]].map(([name, note]) => ( <div key={name} className="flex items-center justify-between gap-3 rounded-control px-3.5 py-2.5 shadow-[0_0_0_1px_var(--k-line)]"><b className="font-medium">{name}</b><span className="text-[var(--k-muted)]">{note}</span></div> ))} </div> ); } const releases: Parameters<typeof ChangelogTemplate>[0]["entries"] = [ { version: "3.8", date: "2026-10-07", title: "NetSuite, both ways", tags: ["New"], author: "Mara Chen", body: <><p>Matches now write back to NetSuite as cleared transactions, and edits made in NetSuite flow back into the close.</p><ul><li><strong>Two-way sync</strong> every four hours, or on demand.</li><li>Subsidiaries map to entities automatically.</li></ul></>, media: <Ledgerish />, mediaTitle: "halden.app/settings/netsuite" }, { version: "3.7", date: "2026-09-22", title: "Rules that explain themselves", tags: ["Improved"], author: "Ivo Petrov", body: <p>Each rule now shows how many lines it matched last month, so you can retire the ones that never fire.</p>, media: <ReleaseRules />, mediaTitle: "halden.app/rules" }, { version: "3.6.2", date: "2026-09-09", title: "Faster exports", tags: ["Fixed"], author: "Kofi Mensah", body: <p>Audit trail exports over 50,000 rows no longer time out. A 4,000-row export now takes about two seconds.</p> }, { version: "3.6", date: "2026-08-26", title: "Close calendar for every entity", tags: ["New"], author: "Priya Raman", body: <p>Each entity gets its own close date and owner, and the calendar shows which ones are late before the controller has to ask.</p> }, { version: "3.5", date: "2026-08-11", title: "Bulk approve with a reason", tags: ["Improved"], author: "Lukas Weber", body: <p>Select up to 500 matched lines and approve them with one note. The note is kept on every line in the audit trail.</p> }, { version: "3.4", date: "2026-07-28", title: "Multi-currency matching", tags: ["New"], author: "Aoife Byrne", body: <><p>Payments in a different currency from the invoice now match on the day’s rate, with the difference booked to FX.</p><ul><li>Rates from the ECB, refreshed daily at 16:00 CET.</li><li>Differences under 0.5% match without review.</li></ul></> }, ]; const releaseTones = { New: "green", Improved: "blue", Fixed: "orange" } as const; function Ledgerish() { return ( <div className="grid gap-2 text-[13px]"> {[["Sync direction", "Both ways"], ["Every", "4 hours"], ["Last sync", "09:12 · 418 transactions"], ["Subsidiaries", "3 mapped to entities"]].map(([label, value]) => ( <div key={label} className="flex justify-between gap-3 border-t border-[var(--k-line)] pt-2 first:border-t-0 first:pt-0"><span className="text-[var(--k-muted)]">{label}</span><span className="tabular-nums">{value}</span></div> ))} </div> ); } export function ChangelogDemo() { return ( <div className="h-[720px] w-full overflow-auto rounded-overlay border border-border bg-background shadow-resting"> <ChangelogTemplate brand="Halden" nav={siteNav("changelog")} signIn={{ label: "Sign in", href: "#" }} primary={startTrial} title="What’s new" lead="Every release of Halden, newest first." entries={releases} tones={releaseTones} footer={footers} /> </div> ); }
API reference
ChangelogTemplate
component
Accessibility
It exposes group and status semantics, with aria-label, aria-pressed and aria-hidden kept in step with state. Changes that matter are announced through a live region.
No custom key handling; Tab and the native activation keys do the work.
Motion
It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.