Skip to content
Sign upPro
BillingWhat's newMenu

What's new (Pro)

ProIncluded in $99

A feature announcement shown once per release, one feature at a time, that never comes back after Got it.

ProA release note that opens once per version, one feature at a time.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/whats-new

Needs chatcn Pro

This command works with a Pro license, along with every Pro component.

Or start free: sign up and get three Pro components on us, with a new one every month.

Usage

tsx
import { WhatsNew } from "@/components/ui/chatcn/pro/whats-new"

<WhatsNew
  version="November release"
  items={[
    { title: "Agents that run while you are away", body: "…", media: { src: "/agents.webp", alt: "…" } },
    { title: "See where your credits go", body: "…" },
  ]}
/>

Opens on its own the first time a reader meets a new version, and never again once closed; shipping the next release is all it takes to show the next one. Each page has its picture or short muted clip, a title, why it matters and an optional action. Arrow keys page through it; Got it on the last page or Escape closes it. WhatsNewCard is the same content without the dialog, for a changelog page or a panel; with stack the pages still to read sit under it as sheets, so there is visibly more to come.

Examples

States

ProThe first page, the last page with Got it, and a note with no picture.

Props

PropTypeNotes
versionstringShown on each page and remembered once seen
itemsWhatsNewItem[]{ title, body?, media?, action? }
storageKeystringWhere the seen version is kept
open, onOpenChange, autoControlled, or opens on its own when unseen
index, defaultIndex, onIndexChangenumberThe page
stackbooleanCard only. Sheets under the card for the pages left, up to two
labelsPartial<WhatsNewLabels>Every string, for translation

Keyboard

KeyAction
Right, LeftNext, back (reversed right to left)
EscapeClose

Accessibility

  • A dialog named by the release; focus starts inside and returns on close.
  • Clips are muted and stop under reduced motion; pictures have descriptions.
  • The page dots are an image labelled with the position.

Motion

Each page rises in over 220 ms; stacked sheets fade and shrink away in 280 ms as you page. Clips play muted and loop, and do not play under reduced motion.