Captain UI

Changelog

Releases on a scrubber. Drag through the versions and one live sample of your product morphs into how it looked at each one, with that release's notes beside it.

npx shadcn@latest add https://captain-ui.vercel.app/r/changelog.json

Plan first

0.5, 14 Nov 2026

  • Ask for a plan, approve it, then let the agent build.
  • Send moved into the composer as one ink key.

Usage

import { Changelog } from "@/components/ui/changelog"

<Changelog releases={releases} renderSample={(i) => <Composer version={i} />} />

Props

PropTypeDefaultWhat it does
releases{ version; date; title; changes: string[] }[]Oldest first.
renderSample(index: number) => ReactNodeYour UI at that release. Give its parts layout and stable keys and they morph between versions.
defaultIndexnumberthe latestThe release shown first.

Keyboard

← →
Previous / next release
Home / End
First / latest release

Accessibility

  • The scrubber is the Captain slider, named Version, with the version as its spoken value.
  • The notes are a polite live region, so moving the scrubber reads the release title and changes.
  • The sample is decorative and hidden from screen readers; the notes carry the content.