# Changelog Page

> A React changelog page template: email and RSS subscribe, releases on a sticky version rail with drawn covers and New, Improved and Fixed groups.

- Type: React template (Templates)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.1.0
- Install: `npx wingo-ui@latest add changelog-page`
- Docs: https://wingo-ui.com/templates/changelog-page

## Interaction

Subscribe with an email (validated, then confirmed inline) or open the RSS feed. The segmented filter (All, New, Improved, Fixed, each with its count; arrow keys move between them) keeps only the releases and groups of that kind, and the list slides into place while the count updates. Each release shows its version, date and a Latest badge for the newest; from 768px they sit on a rail that sticks beside the release while you read it, on phones they sit above it. The version pill is a permalink to the release. Entries with a Learn more link go to the related page. Load older releases appends the next ones (the button spins, the bar under it shows how many you have seen).

## Installation

```bash
npx wingo-ui@latest add changelog-page
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/changelog-page` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/templates/changelog-page.tsx`
- `components/templates/changelog-page-data.ts`

npm dependencies: `npm i motion lucide-react`

Wingo UI dependencies (installed automatically):

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Marketing Header](https://wingo-ui.com/components/marketing-header) ([Markdown](https://wingo-ui.com/components/marketing-header.md))
- [Marketing Footer](https://wingo-ui.com/components/marketing-footer) ([Markdown](https://wingo-ui.com/components/marketing-footer.md))
- [Badge](https://wingo-ui.com/components/badge) ([Markdown](https://wingo-ui.com/components/badge.md))
- [Button](https://wingo-ui.com/components/button) ([Markdown](https://wingo-ui.com/components/button.md))
- [Pagination](https://wingo-ui.com/components/pagination) ([Markdown](https://wingo-ui.com/components/pagination.md))
- [Segmented Control](https://wingo-ui.com/components/segmented-control) ([Markdown](https://wingo-ui.com/components/segmented-control.md))
- [useControllableState](https://wingo-ui.com/components/use-controllable-state) ([Markdown](https://wingo-ui.com/components/use-controllable-state.md))
- [Motion presets](https://wingo-ui.com/components/motion) ([Markdown](https://wingo-ui.com/components/motion.md))
- [Navigation](https://wingo-ui.com/components/navigation) ([Markdown](https://wingo-ui.com/components/navigation.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// app/(marketing)/changelog/page.tsx
"use client"

import Link from "next/link"
import { ChangelogPage } from "@/components/templates/changelog-page"
import { CHANGELOG_RELEASES } from "@/components/templates/changelog-page-data"

export default function ChangelogRoute() {
  return (
    <ChangelogPage
      linkComponent={Link}
      releases={CHANGELOG_RELEASES}
      rssHref="/changelog/rss.xml"
      onSubscribe={(email) =>
        fetch("/api/changelog/subscribe", { method: "POST", body: JSON.stringify({ email }) })
      }
    />
  )
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `design?` | `"classic" \| "minimal" \| "editorial"` | `"classic"` | The whole page's look. classic follows the layout props; minimal: a transparent header, a smaller heading, one centered column on a plain timeline (a hairline with a dot per release), no covers, plain version links and a simple footer; editorial: a centered header, huge display type, large version numbers on the sticky rail, no covers, small caps group labels, heavy rules between releases and a centered footer. headerProps and footerProps still win. |
| `background?` | `"plain" \| "soft" \| "glow" \| "aurora" \| "grid" \| "dots"` | `"dots"` | The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one. Classic uses dots, minimal plain, editorial soft. |
| `backgroundColor?` | `string` | `"oklch(0.62 0.14 275)"` | The tint and glow color of the main background. |
| `releases?` | `ChangelogRelease[]` | `"CHANGELOG_RELEASES"` | Newest first: { version, date, title, summary, changes: { type, text, href? }[], cover?, glyph?, tone? }. |
| `labels?` | `Partial<ChangelogPageLabels>` | `"DEFAULT_CHANGELOG_PAGE_LABELS"` | Every visible string; labels.newsletter goes to the subscribe form. |
| `filter?` | `"all" \| "new" \| "improved" \| "fixed"` |  | Controlled filter; pair it with onFilterChange. |
| `defaultFilter?` | `"all" \| "new" \| "improved" \| "fixed"` | `"all"` | The filter the page opens on while uncontrolled. |
| `onFilterChange?` | `(filter: ChangelogFilter) => void` |  | Called when the filter changes. |
| `pageSize?` | `number` | `4` | Releases shown before Load older releases, and how many each press adds. |
| `onLoadMore?` | `() => (void \| Promise<unknown>)` |  | Load older releases; a returned promise keeps the button loading. Without it the page waits 700 ms. |
| `layout?` | `"rail" \| "stacked"` | `"rail"` | rail: version and date on a sticky left rail from 768px; stacked: above each release in one centered column. Applies to the classic design. |
| `covers?` | `"color" \| "mono" \| "none"` | `"color"` | Drawn covers tinted per release, all neutral, or none. Applies to the classic design. |
| `showSubscribe?` | `boolean` | `true` | The email form and the RSS button under the heading. |
| `showFilter?` | `boolean` | `true` | The New / Improved / Fixed filter. |
| `rssHref?` | `string` | `"/changelog/rss.xml"` | The RSS button's link; empty hides it. |
| `onSubscribe?` | `(email: string) => (void \| Promise<unknown>)` |  | The email signup; without it the form waits 900 ms and succeeds. |
| `header?` | `boolean` | `true` | The sticky marketing header; turn it off when the page sits in a site layout. |
| `footer?` | `boolean` | `true` | The marketing footer. |
| `headerProps?` | `Partial<MarketingHeaderProps>` |  | Passed to MarketingHeader. |
| `footerProps?` | `Partial<MarketingFooterProps>` |  | Passed to MarketingFooter. |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | The filter thumb, the subscribe button and the load bar. |
| `radius?` | `"sm" \| "md" \| "lg"` | `"md"` | Cover radius: 12, 16 or 24px. |
| `animateIn?` | `boolean` | `true` | The heading, subscribe row and filter rise in once on mount; off in thumbnails and under reduced motion. |
| `locale?` | `string` | `"en-US"` | Intl locale for dates and counts. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` | `"<a>"` | The router link for every link (next/link in an app); default the LinkProvider's. |
| `className?` | `string` |  | Classes for the root. |
| `classNames?` | `Partial<Record<ChangelogPageSlot, string>>` |  | Classes for intro, subscribe, toolbar, releases, release and pagination. |

## Parts

### ChangelogReleaseEntry (component)

One release: the version rail, cover, title, summary and the New / Improved / Fixed groups. Takes article props; its id is the permalink anchor.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `release?` | `ChangelogRelease` |  | The release. |
| `types?` | `ChangelogChangeType[]` | `"[\"new\", \"improved\", \"fixed\"]"` | The groups to show, in order. |
| `latest?` | `boolean` | `false` | Adds the Latest badge. |
| `layout?` | `"rail" \| "stacked"` | `"rail"` | Sticky rail beside it or meta above it. |
| `covers?` | `"color" \| "mono" \| "none"` | `"color"` | The cover. |
| `radius?` | `"sm" \| "md" \| "lg"` | `"md"` | Cover radius. |
| `locale?` | `string` | `"en-US"` | Date format. |
| `labels?` | `Partial<ChangelogPageLabels>` |  | Strings. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` |  | The router link for Learn more. |
| `classNames?` | `Partial<Record<"rail" \| "cover" \| "group", string>>` |  | Classes for the parts. |

### ChangelogCover (component)

A cover drawn in code: a tint, a grid, the version in large type and a glyph; or a photo when src is set. Takes div props; size it with an aspect class.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `version?` | `string` |  | The version. |
| `label?` | `string` |  | The large text; default the version. |
| `src?` | `string` |  | A photo instead of the drawing. |
| `alt?` | `string` | `""` | Alt text of the photo. |
| `glyph?` | `string` |  | A CHANGELOG_GLYPHS key. |
| `icon?` | `ReactNode` |  | Replaces the glyph. |
| `tone?` | `Tone` | `"neutral"` | The tint. |

### CHANGELOG_PAGE_DESIGNS (constant)

The design names, classic first: ["classic", "minimal", "editorial"].

### ChangelogPageDesign (type)

"classic" | "minimal" | "editorial".

### changelogAnchor (function)

changelogAnchor("2.10") gives "v2-10", the id of a release (link to /changelog#v2-10).

### CHANGELOG_RELEASES (constant)

Eight sample Acme releases from 2026, 3.0 down to 2.4.

### CHANGELOG_GLYPHS (constant)

The lucide glyphs a release's glyph key picks.

### CHANGELOG_TYPE_TONES (constant)

The badge tone of each group: New success, Improved info, Fixed neutral.

### DEFAULT_CHANGELOG_PAGE_LABELS (constant)

The English strings.

### ChangelogRelease (type)

{ version, date, title, summary, changes, cover?, glyph?, tone? }.

### ChangelogChange (type)

{ type: "new" | "improved" | "fixed", text, href? }.

### ChangelogPageProps (type)

Props of ChangelogPage.

## Examples

- **Minimal design**: design="minimal": a transparent header, one column on a plain timeline with dots, no covers and a simple footer.
- **Editorial design**: design="editorial": huge display type, large version numbers on the rail, small caps group labels, heavy rules and a centered footer.
- **Stacked, one column**: Version and date above each release in a centered reading column.
- **Fixes only, brand tone**: Opens on the Fixed filter with the marketing orange on the filter and the subscribe button.
- **Text only**: No covers and a longer first page: a compact log of every release.
- **Inside a site layout**: Header and footer off, neutral covers and a larger radius.

## See also

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Marketing Header](https://wingo-ui.com/components/marketing-header) ([Markdown](https://wingo-ui.com/components/marketing-header.md))
- [Segmented Control](https://wingo-ui.com/components/segmented-control) ([Markdown](https://wingo-ui.com/components/segmented-control.md))
- [Pagination](https://wingo-ui.com/components/pagination) ([Markdown](https://wingo-ui.com/components/pagination.md))
- [Badge](https://wingo-ui.com/components/badge) ([Markdown](https://wingo-ui.com/components/badge.md))

---

Canonical: https://wingo-ui.com/templates/changelog-page
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
