Staaarter

Callout Highlight Changelog

A release feed where every release leads with one prominent, bordered callout for its headline change, followed by a plainer tone-coded list of the release's other changes. Good for changelogs that want to spotlight the one thing users should notice per release.

By Staaarter Team
Changelog
Docs
Live preview

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/callout-highlight-changelog.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/changelog/changelog24.tsx instead.

Usage

The file also exports changelog24Demo, 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 { Changelog24, changelog24Demo } from "@/components/blocks/changelog/changelog24";

export default function Page() {
  return <Changelog24 {...changelog24Demo} />;
}

Props

PropTypeDefaultDescription
headingstring"What's new"Section heading.
descriptionstring"The highlights, and everything else..."Section subheading.
releasesChangelog24Release[]noneList of releases, each with one highlight and a list of other changes.
classNamestringnoneExtra classes for the outer section element.

Types

type Changelog24ChangeType = "added" | "changed" | "fixed" | "removed";

interface Changelog24Change {
  id: string;
  type: Changelog24ChangeType;
  text: string;
}

interface Changelog24Release {
  id: string;
  version: string;
  date: string;
  highlight: string;
  changes: Changelog24Change[];
}

Behavior notes

  • Fully static server component: no client-side state or handlers.
  • The highlight callout text is plain, author-chosen copy passed via props; it is not auto-selected from the `changes` list by any heuristic.