Visual Release Notes
A visual changelog for releases with an accompanying screenshot: each release is a two-column row pairing a feature image with its version, date, heading, description, and tone-coded change tags, alternating which side the image sits on from row to row.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/visual-release-notes.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/changelog/changelog16.tsx instead.
Usage
The file also exports changelog16Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Changelog16, changelog16Demo } from "@/components/blocks/changelog/changelog16"; export default function Page() { return <Changelog16 {...changelog16Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "What's new" | Section heading above the release list. |
| description | string | undefined | Short intro paragraph under the heading. |
| releases | Release[] | none | Releases rendered in order, each with its own image. |
| className | string | none | Extra classes for the outer section element. |
Types
type ChangeType = "added" | "changed" | "fixed" | "removed"; interface Change { type: ChangeType; label: string; text: string; } interface Release { version: string; date: string; heading: string; description: string; image: { src: string; alt: string }; changes: Change[]; }
Behavior notes
- Alternates which side the image renders on: even-indexed releases show the image first (left on desktop), odd-indexed releases flip to the right, via a deterministic `index % 2` check on the static releases array, not any client state.
- The change tags follow this category's tone convention: added uses Badge variant default, changed uses secondary, fixed uses outline, removed uses destructive; each entry supplies its own display label (e.g. "Breaking", "Security", "Deprecated") so the badge text can vary while the color stays consistent with its type.
- Fully static server component: no filtering, pagination, or client-side state.
More Changelog Blocks
View all →split-milestone-changelog
Split Milestone Changelog
Two-column release entries pairing milestone context with highlights and metrics.
changelog-release-feed
Changelog Release Feed
Release feed cards with aligned change-type labels and an optional CTA per card.
grouped-changelog-board
Grouped Changelog Board
Releases grouped under bold month headings with aligned version and description columns.
milestone-changelog-timeline
Milestone Changelog Timeline
Vertical timeline of releases with a connecting line, version badges, and tone-coded change types.
minimal-text-changelog
Minimal Text Changelog
Ultra-plain, text-only changelog with no badges, cards, or borders.
categorized-release-notes
Categorized Release Notes
Per-release changes grouped into Added, Changed, and Fixed sub-sections.