Whats new
Release notes people read: a few cards in a dialog, stepping with a slide in the direction of travel, dots for place, and Got it to close.
Payments now match in any currency, and bank feeds refresh every 15 minutes.
When to use
- After a release with two to five changes worth knowing.
- Announcing a redesigned screen.
When not to use
- Every release; keep it for changes that affect how people work.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/whats-new
Adds its 6 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
WhatsNew
4 props
PropTypeDefault
open *boolean—
onOpenChange *(open: boolean) => void—
items *readonly NewsItem[]—
version *string—
Keyboard
- Keyboard and focus come from Radix dialog: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.
Accessibility
It is built on native elements, so roles and focus come from the browser.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/whats-new.mdThe index of every part is at /llms.txt.