Version entries with a date and New, Improved, Fixed or Breaking tags, each with rich content, media and links. Filter by tag, link your RSS feed, and show the latest in a compact What's new list.
On this page
Used for
- Product changelog
- Model release notes
- What's new popover
- Releases by version
Examples
Installation
npx knowns-ui@latest add changelog-feedFor Claude Code, Cursor or Codex: installs it and wires the props to your own data.
Paste this into your coding agent (Claude Code, Cursor, Codex). It checks your project, sets up the registry, runs the install and verifies it.
Install prompt
Install Changelog feed from Knowns UI into this project. Work step by step, show me each change, and ask before you edit files outside this project.
Context: Knowns UI (https://ui.knowns.dev) is a shadcn registry. Items land in the project as source files. Docs: https://ui.knowns.dev/docs/changelog-feed
1. Check the project first. Stop and tell me if any of these is missing:
- React 19 and Tailwind CSS v4.
- A components.json at the project root. If there is none, ask me before running `npx knowns-ui@latest init --no-key` (it runs shadcn init when needed, then adds the registries).
2. Run:
```bash
npx knowns-ui@latest add changelog-feed
```
It writes these files:
- lib/knowns/run.ts
- lib/knowns/json.tsx
- lib/knowns/status.ts
- lib/knowns/tone.ts
- lib/knowns/types.ts
- lib/knowns/use-abortable.ts
- lib/knowns/utils.ts
- lib/knowns/motion.tsx
- lib/knowns/motion-utils.ts
- components/ui/knowns/code-block/code-block.tsx
- components/ui/knowns/code-block/code-block-utils.ts
- components/ui/knowns/blocks/content/prose.tsx
- components/ui/knowns/blocks/content/content-utils.ts
- components/ui/knowns/use-floating.ts
- components/ui/knowns/tooltip.tsx
- components/ui/knowns/tooltip-utils.ts
- components/ui/knowns/toggle-group.tsx
- components/ui/knowns/blocks/content/changelog-feed.tsx
and installs these npm packages: clsx@^2.1.1, tailwind-merge@^3.7.0.
3. While it runs:
- It also adds a few @keyframes (all named kn-*) to the global CSS file (globals.css or the file components.json points at). Let it: they only add animations.
- If it asks to overwrite files under lib/knowns/: these are shared by every Knowns UI item. List them, say whether I changed them (check git), and ask me before you answer.
- If it asks to overwrite any other file, show me the diff and ask me.
4. Verify:
- Every file in the list above exists.
- The project type-checks (for example `npx tsc --noEmit`) and the dev build has no new errors.
5. Use it: follow the examples and props on https://ui.knowns.dev/docs/changelog-feed, and ask me if anything about my data is unclear.
If the Knowns UI MCP server is connected (https://ui.knowns.dev/docs/ai-and-mcp), use get_component({ name: "changelog-feed" }) or search_docs for details.
Finish with a short summary: the files you added or changed, the packages you installed, and anything I still need to do.Props
- entries
ChangelogEntry[]- Newest first: { id, version?, date, title, badge? (a small mark after the title, e.g. a plan star), tags: (new | improved | fixed | breaking)[], summary?, blocks? or body?, media?, links?, href? }.
- title / description
ReactNode- Default
"Changelog" - The header.
- filter
boolean- Default
true - Chips for the tags that are used.
- rssHref / actions
string / ReactNode- An RSS link, and anything else for the header (a Subscribe form).
| Prop | Type | Default | Description |
|---|---|---|---|
| entries | ChangelogEntry[] | - | Newest first: { id, version?, date, title, badge? (a small mark after the title, e.g. a plan star), tags: (new | improved | fixed | breaking)[], summary?, blocks? or body?, media?, links?, href? }. |
| title / description | ReactNode | "Changelog" | The header. |
| filter | boolean | true | Chips for the tags that are used. |
| rssHref / actions | string / ReactNode | - | An RSS link, and anything else for the header (a Subscribe form). |
Releases
- releases
ChangelogRelease[]- Newest first: { version, date, title?, summary?, entries: ChangelogEntry[] }. Each entry is grouped under its first tag.
- entry.note / entry.links
{ title?, text } / { label, href }[]- A quiet callout under the text (a migration note), and the names it is about as a list.
- flags
{ flag, label }[]- Default
[] - Extra filter chips that match entries by their flags, e.g. Pro.
- maxLinks
number- Default
6 - Names an entry lists before "and N more".
- filter / rssHref / actions
boolean / string / ReactNode- Default
true / - / - - The chip row: filters on the left, RSS and anything else on the right.
- Layout
-- On containers 880px and wider the release header is a sticky rail beside its changes; narrower, it sits above them.
| Prop | Type | Default | Description |
|---|---|---|---|
| releases | ChangelogRelease[] | - | Newest first: { version, date, title?, summary?, entries: ChangelogEntry[] }. Each entry is grouped under its first tag. |
| entry.note / entry.links | { title?, text } / { label, href }[] | - | A quiet callout under the text (a migration note), and the names it is about as a list. |
| flags | { flag, label }[] | [] | Extra filter chips that match entries by their flags, e.g. Pro. |
| maxLinks | number | 6 | Names an entry lists before "and N more". |
| filter / rssHref / actions | boolean / string / ReactNode | true / - / - | The chip row: filters on the left, RSS and anything else on the right. |
| Layout | - | - | On containers 880px and wider the release header is a sticky rail beside its changes; narrower, it sits above them. |
What's new (compact)
Preview
- entries / max
ChangelogEntry[] / number- Default
- / 4 - The latest entries.
- seenId
string- The newest entry this reader has seen. Newer ones get a dot and count as new.
- allHref / onSelect
string / (entry) => void- View all, and what an entry does.
| Prop | Type | Default | Description |
|---|---|---|---|
| entries / max | ChangelogEntry[] / number | - / 4 | The latest entries. |
| seenId | string | - | The newest entry this reader has seen. Newer ones get a dot and count as new. |
| allHref / onSelect | string / (entry) => void | - | View all, and what an entry does. |
What it handles
- 01Lists entries newest first with a date and version in a sticky left column, and one entry per row with its tags, title, summary and details.
- 02Tags each entry as New, Improved, Fixed or Breaking, and builds filter chips only for the tags in use, each with its count.
- 03Shows the date and version once when consecutive entries share a version, so one release reads as one block.
- 04Renders details from blocks or your own body, with media and a caption, a list of links and a quiet note for upgrade steps.
- 05Includes ChangelogCompact for a popover or sidebar, which counts entries after seenId and marks them with a dot and a "2 new" badge.
- 06Includes ChangelogReleases, which groups each release's changes under Breaking, New, Improved and Fixed, adds flag chips such as Pro, and links an RSS feed from rssHref.
States
- First render
- Nothing. The entries paint as they are
- none
- Tag filter
- The list changes at once and the count is announced
- none
- Compact row hover
- The row background shifts
- 120ms, ease out
- Unread dot
- The dot is filled for new entries and clear for seen ones
- none
- Reduced motion
- The row background changes at once
- 0ms
| State | What moves | Timing |
|---|---|---|
| First render | Nothing. The entries paint as they are | none |
| Tag filter | The list changes at once and the count is announced | none |
| Compact row hover | The row background shifts | 120ms, ease out |
| Unread dot | The dot is filled for new entries and clear for seen ones | none |
| Reduced motion | The row background changes at once | 0ms |
Works with
When to use
When to use
- A public changelog: versions with New, Improved, Fixed and Breaking changes.
- A small What's new list in a popover, with unread dots.
When not to use
- Long announcements with a story to tell: use Blog Post.
- One-off notices across the top of the site: use Announcement Bar.
- A long history that needs months, in-place details and links to entries: use Changelog Timeline.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Changelog Feed to my app and wire it to my own data.
- I need a public changelog: versions with New, Improved, Fixed and Breaking changes. Set that up with the Knowns UI Changelog Feed.
- Which Changelog Feed props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "changelog-feed" }) and search_docs({ query: "changelog feed" }).