Featured Release Changelog
Changelog that visually separates the newest release from history: a larger featured card at the top with a full description and tagged change list, followed by a condensed, divided list of previous releases reduced to version, date, and a one-line summary each.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/featured-release-changelog.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/changelog/changelog8.tsx instead.
Usage
The file also exports changelog8Demo, 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 { Changelog8, changelog8Demo } from "@/components/blocks/changelog/changelog8"; export default function Page() { return <Changelog8 {...changelog8Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Changelog" | Page heading above the featured release. |
| releases | Release[] | none | Releases in order, most recent first; the first entry becomes the featured card. |
| className | string | none | Extra classes for the outer section element. |
Types
type ChangeType = "added" | "changed" | "fixed" | "removed"; interface Change { type: ChangeType; text: string; } interface Release { version: string; date: string; title?: string; description?: string; changes: Change[]; }
Behavior notes
- The first item in `releases` is always rendered as the featured card (larger padding, `border-2 border-primary/30 bg-muted/40`, a full change list with tags); the remaining items render as condensed rows below.
- Condensed rows show `description` if present, otherwise fall back to the first change's text, so every previous release always has a one-line summary even if `description` is omitted.
- Change tags follow this category's convention: added is `variant="default"`, changed is `variant="secondary"`, fixed is `variant="outline"`, removed is `variant="destructive"`.
- Fully static: no submit actions or client-side state anywhere in the block.
More Changelog Blocks
View all →Split Milestone Changelog
Two-column release entries pairing milestone context with highlights and metrics.
Changelog Release Feed
Release feed cards with aligned change-type labels and an optional CTA per card.
Grouped Changelog Board
Releases grouped under bold month headings with aligned version and description columns.
Milestone Changelog Timeline
Vertical timeline of releases with a connecting line, version badges, and tone-coded change types.
Minimal Text Changelog
Ultra-plain, text-only changelog with no badges, cards, or borders.
Categorized Release Notes
Per-release changes grouped into Added, Changed, and Fixed sub-sections.