Staaarter

Dense Inline Release Log

Dense, scannable changelog styled like an API release log: each entry is a single line with a color-coded type dot, a version badge, and the change text, no wasted vertical space, ending in a legend explaining what each dot color means.

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/dense-inline-release-log.json

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

Usage

The file also exports changelog10Demo, 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 { Changelog10, changelog10Demo } from "@/components/blocks/changelog/changelog10";

export default function Page() {
  return <Changelog10 {...changelog10Demo} />;
}

Props

PropTypeDefaultDescription
headingstring"Changelog"Page heading above the log.
entriesLogEntry[]noneIndividual change entries, one per line, most recent first.
classNamestringnoneExtra classes for the outer section element.

Types

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

interface LogEntry {
  type: ChangeType;
  version: string;
  text: string;
}

Behavior notes

  • Each row's dot color follows this category's dot convention: added is `bg-primary`, changed is `bg-secondary`, fixed is `bg-muted-foreground`, removed is `bg-destructive`; the type is also exposed as visually-hidden text for screen readers since color alone is decorative.
  • The legend footer repeats the same four dot/label pairs so the color coding is explained once, near the bottom, rather than repeated per row.
  • Fully static: no filtering, sorting, or client-side state; it's a flat, pre-sorted list.