Releases Index
shadcn

shadcn

$npx @buildinternet/releases get shadcn
Recently Shipped7 releases · updated Oct 16, 2026

Recently shipped Trace, Code Block, and AI Elements — building blocks for agentic interfaces.

Agent interfaces gained three new pieces.

  • Trace lists the steps an agent takes — thoughts, commands, file edits — as one reusable composition.
  • Code Block renders the code an agent writes.
  • AI Elements collects patterns for agentic interfaces assembled from shadcn/ui components.

All three work with Base UI, React Aria, and Radix across all eight styles.

Conversation and question flows rounded out. Questionnaire handles multi-step flows with fixed, freeform, multiple, and skippable answers. MessageScroller, Message, Bubble, Attachment, and Marker cover streaming conversations; Toast builds on Base UI primitives, and typeset styles rendered markdown with one class. @shadcn/helpers mocks human-in-the-loop flows — scripted conversations pause for real input, wait for approval, and continue through the real useChat lifecycle.

Every component now imports cn from a package. The new cn package replaces twMerge(clsx(...)) — same API, one dependency instead of two. The CLI installs it and generates a one-line lib/utils.ts.

Private GitHub repos work as registries. If you can read a repo, the CLI can install from it; logged into the GitHub CLI, credentials stay in gh and never enter the shadcn process. shadcn search can now forward query parameters to a registry instead of downloading the full catalog — opt-in, and static registries keep working unchanged.

Base UI is the default base; React Aria is first-class. New projects default to Base UI, with Radix fully supported.

Trace and Code Block components; AI Elements patterns

This release3 featuresNew capabilitiesAI-tallied from the release notes

Two new components: Trace, a list of lines for the steps an agent takes with running, error and pending states, nested lines, and support for AI SDK reasoning, tool and source parts, and Code Block for code, terminal output, logs and diffs with line numbers, diff and highlighted lines. Also released AI Elements, a set of patterns for agentic interfaces built from shadcn/ui components, with Trace and Code Block available for Base UI, React Aria and Radix across all eight styles.

Read more ↗

Components now import cn from cn package

Breaking (minor)This release1 featureNew capabilitiesAI-tallied from the release notes

Every shadcn component now imports cn directly from the new cn package instead of @/lib/utils, replacing the old twMerge(clsx()) helper with a smaller, faster drop-in replacement. npx shadcn init installs cn and generates a one-line lib/utils.ts, while the utils registry item still re-exports cn for backward compatibility.

Read more ↗

Private GitHub repos now installable via registry CLI

This release1 featureNew capabilitiesAI-tallied from the release notes

Registry items can now be installed from private GitHub repositories. If logged in to the GitHub CLI, setup is zero-config; otherwise set GH_TOKEN or GITHUB_TOKEN, with a fine-grained token scoped to Contents: Read-only recommended. Works with the add, list, search, view, and registry validate commands.

Read more ↗

AI SDK flows now mock approvals and pauses

This release1 featureNew capabilitiesAI-tallied from the release notes

@shadcn/helpers can now mock human-in-the-loop flows for the AI SDK, pausing for real user input, waiting for approvals, and continuing with the user's decision. Everything streams through the real useChat lifecycle, so tool cards, approval prompts, and question flows behave as in production.

Read more ↗

Registries can now handle search server-side

This release1 featureNew capabilitiesAI-tallied from the release notes

When running shadcn search, the CLI forwards search parameters to your registry as query params, making search fast for large registries by no longer requiring the full catalog download. Dynamic search is opt-in and static registries continue working without changes.

Read more ↗

React Aria now a first-class component base

This release1 featureNew capabilitiesAI-tallied from the release notes

React Aria Components are now available as a first-class component base alongside Base UI and Radix. Developers can choose it in shadcn/create or initialize projects with --base aria, with CLI handling dependencies, registry resolution, styles, and component installation across all eight styles.

Read more ↗

shadcn/typeset: one CSS file for all HTML typography

This release1 featureNew capabilitiesAI-tallied from the release notes

shadcn/typeset is a new styling system for HTML and rendered markdown delivered as a single CSS file. Add the "typeset" class to style headings, paragraphs, lists, tables, and code, with CSS custom properties for size, leading, and flow per context.

Read more ↗

Base UI is now the default; Radix stays supported

BreakingThis release1 featureNew capabilities1 enhancementImprovements to existing featuresAI-tallied from the release notes

New projects created with shadcn/ui now default to Base UI instead of Radix, though Radix remains fully supported and mature projects on it do not need to migrate. A migration skill allows progressive component-by-component migration via coding agents, with per-component reporting and rollback via git branches.

Read more ↗