shadcn Updates & Release Notes
14 updates curated from 1 source by the Releasebot Team. Last updated: Oct 15, 2026
- Oct 15, 2026
- Date parsed from source:Oct 15, 2026
- First seen by Releasebot:Oct 15, 2026
October 2026 - Trace, Code Block and AI Elements
shadcn releases Trace and Code Block components for building agentic interfaces, plus 21 copy-ready AI Elements patterns. The new components support Base UI, React Aria, and Radix across eight styles, bringing chat, reasoning, tool, and code-output experiences together.
Today, we are releasing two new components, Trace and Code Block, and AI Elements, a set of patterns for agentic interfaces built from shadcn/ui components.
Trace and Code Block are available for Base UI, React Aria and Radix across all eight styles.
Trace
Trace is a list of lines for the steps an agent takes. We built it by studying hundreds of components from agentic interfaces and distilling what they share into one composition you can reuse.
Why does pnpm install fail in CI?
Thought for 5s
Ran pnpm --version
Ran git diff --stat HEAD~1 -- package.json pnpm-lock.yaml
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)Failed to run pnpm install --frozen-lockfile
Used 2 sources
The last commit bumped a version in package.json without updating pnpm-lock.yaml, so the frozen install fails. Run pnpm install locally and commit the lockfile.
Replay
"use client" import * as React from "react"View Code
Reasoning, tool calls, sources, plans and subagent runs all have the same shape: something the agent did, and what happened. In Trace, each one is a line with an icon, a title, and an optional description and status. A line can expand to show more detail, link to a page, or open a dialog or sheet, so every step looks and behaves the same in your interface.
- running, error and pending states, with a shimmer while a step runs.
- Lines that expand, link out, or open a dialog, sheet, drawer or popover.
- Nested lines, so a summary expands into steps and a step into its output.
- Works with the reasoning, tool and source parts from the AI SDK.
- Keyboard and screen reader support from the trigger that wraps each line.
pnpm dlx shadcn@latest add traceCopy
Code Block
CodeBlock displays code, terminal output, logs and diffs. It has a header with a title and actions, line numbers, wrapping, diff and highlighted lines, and a small size for tool output in a Trace.
app/api/chat/route.ts
Wrap lines
Download
Copy
import { streamText } from "ai" export async function POST ( request : Request ) { const { messages } = await request. json () const result = streamText ({ model: "anthropic/claude-sonnet-4.5", system: "You are a helpful assistant. Answer in one short paragraph.", messages, }) return result. toUIMessageStreamResponse () }"use client" import * as React from "react"View Code
pnpm dlx shadcn@latest add code-blockCopy
Building agentic interfaces
Trace and Code Block join the components for chat interfaces we released in June. Together, they cover every part of an agentic interface:
- Message Scroller holds the thread. It anchors each turn, follows the reply while it streams and loads history without jumping.
- Message is one turn, with an avatar, a header and a footer for actions.
- Bubble holds what the person sends.
- Trace shows the steps the agent takes inside a turn.
- Code Block shows the code, commands and output those steps produce.
- Marker adds notes and dividers between turns.
- Attachment shows the files that come with a message.
- Questionnaire asks the person to clarify before the agent continues.
AI Elements
AI Elements are patterns for agentic interfaces built from these components. There is no package to install. Each pattern is a composition you copy into your project, and the code is yours.
New Thread
Ask the agent to change your code.
Reset conversation
What should we build?
The agent can read your code, run commands and make changes. Press send to start.
Message
Add a dark mode toggle to the settings page.
Add context
Send
View Code
There are 21 patterns, from Chat and Prompt Input to Reasoning, Tool, Plan and Subagent. Each page shows how to render the pattern from AI SDK message parts.
Every page is also available as Markdown, so you can point your coding agent at it:
Prompt
Add the Reasoning pattern from https://ui.shadcn.com/docs/ai-elements/base/reasoning.md to my chat.
Migrating from AI SDK Elements
AI Elements replaces AI SDK Elements, and we are going to deprecate AI SDK Elements.
You do not need to migrate right away. The components you installed from AI SDK Elements were copied into your project, so they keep working.
When you are ready, each pattern page has a migration prompt. Paste it into your coding agent, and it rebuilds the wrapper in components/ai-elements on Trace, Code Block and the other shadcn/ui components. Every export keeps its name and props, so the code that uses it does not change.
See Migrating from AI SDK Elements for the element that replaces each file, and for the elements we did not rebuild. If you still need one of those, open an issue and we will help you build it.
Original source - Sep 1, 2026
- Date parsed from source:Sep 1, 2026
- First seen by Releasebot:Sep 4, 2026
- Modified by Releasebot:Oct 16, 2026
September 2026 - cn
shadcn moves its component class-name helper into the cn package, simplifying project setup and dependency management. New projects get cn automatically, registry components install it as needed, and existing projects can migrate their imports and remove the old packages with the CLI.
Every shadcn component now imports cn from the cn package.
For years, every shadcn project started with the same five lines in lib/utils.ts: import clsx, import twMerge, wrap one in the other, export it as cn. It worked, but it meant two dependencies and a helper you had to copy into every project and every registry.
We have moved that into a package. cn is a drop-in replacement for twMerge(clsx(...)). It is smaller, faster and ships the same API, so nothing changes at the call site.
import { cn } from "cn"; <div className={cn("flex items-center", className)} />What changed
- Registry components, blocks and examples import cn from cn instead of @/lib/utils.
- npx shadcn init installs cn and generates a one-line lib/utils.ts.
- Every registry item that uses cn declares it as a dependency, so npx shadcn add installs it in projects created before this change.
// lib/utils.ts export { cn } from "cn";Existing projects
Nothing breaks. Your lib/utils.ts keeps working and new components install cn next to it. To move the rest of your project over and drop clsx and tailwind-merge, run the migration:
pnpm dlx shadcn@latest migrate cnCopy
It rewrites imports, replaces twMerge(clsx(...)) calls and removes the old packages when nothing references them anymore. See the CLI docs for details.
Original source All of your release notes in one feed
Join Releasebot and get updates from shadcn and hundreds of other software products.
- Aug 1, 2026
- Date parsed from source:Aug 1, 2026
- First seen by Releasebot:Aug 24, 2026
- Modified by Releasebot:Oct 15, 2026
August 2026 - Private GitHub Registries
shadcn now supports private GitHub repositories as registries, letting teams install internal components and use list, search, view, and validation commands with GitHub CLI credentials or a CI token.
GitHub registries now work with private repositories.
In June, we made it possible to turn any public GitHub repository into a registry. Teams asked for the same thing for their internal code: design systems, feature kits, agent rules and conventions that should not be public.
You can now install from private repositories. If you can read the repository, the CLI can install from it.
pnpm dlx shadcn@latest add acme/internal-toolkit/auth-kitZero configuration
If you are logged in to the GitHub CLI, there is nothing to set up.
gh auth loginWhen a repository is not publicly readable, the CLI reads it through gh using your stored credentials. The token stays inside the GitHub CLI. It never enters the shadcn process.
✔ Using gh credentials. ✔ Checking registry. ✔ Created 1 file: - lib/auth.tsCI support
Where the GitHub CLI is not installed, set GH_TOKEN or GITHUB_TOKEN:
GH_TOKEN=github_pat_xxx npx shadcn@latest add acme/internal-toolkit/auth-kitWe recommend a fine-grained personal access token scoped to the repository with Contents: Read-only access.
Works with every command
Private repositories work with the same commands as public GitHub registries.
pnpm dlx shadcn@latest list acme/internal-toolkit pnpm dlx shadcn@latest search acme/internal-toolkit --query auth pnpm dlx shadcn@latest view acme/internal-toolkit/auth-kit pnpm dlx shadcn@latest registry validate acme/internal-toolkitHow it works
- Public repositories are read anonymously, exactly as before. No credentials are used and the GitHub CLI is never invoked.
- The CLI tries anonymous access first and only uses your credentials when the repository is not publicly readable.
- Private files are read through GitHub's Contents API, pinned to the resolved commit SHA.
- A token from GH_TOKEN is only ever sent to api.github.com. Stored GitHub CLI credentials are read by gh, not by the CLI.
See the Private repositories docs for the full guide.
Original source - Aug 1, 2026
- Date parsed from source:Aug 1, 2026
- First seen by Releasebot:Aug 13, 2026
- Modified by Releasebot:Oct 15, 2026
August 2026 - Human in the Loop
shadcn adds human-in-the-loop flow mocking to @shadcn/helpers for the AI SDK, letting scripted chats pause for user input or approval and stream responses through the real useChat lifecycle.
@shadcn/helpers can now mock human-in-the-loop flows for the AI SDK. A scripted conversation can pause for real user input, wait for an approval, and continue with whatever the user decided.
Everything streams through the real useChat lifecycle, so your tool cards, approval prompts, and question flows behave exactly as they would in production.
import { createChat } from "@shadcn/helpers/ai-sdk" const chat = createChat<ChatMessage>() .user("Help me plan the next prototype.") .assistant(({ writer }) => { writer.text("A couple of questions before I start.") writer.tool("askQuestions", { input: { questions } }) }) .assistant(({ writer, toolCall }) => { writer.text( toolCall?.name === "askQuestions" && toolCall.output ? `Starting with ${toolCall.output.answers.direction}.` : "Starting now." ) })Pass needsApproval to pause behind the user's decision. The scripted output streams after approval, and denial streams automatically.
Original sourcechat .assistant(({ writer }) => { writer.text("That will archive 3 drafts. I need your approval.") writer.tool("archiveDrafts", { input: { count: 3 }, needsApproval: true, output: { archived: 3 }, }) }) .assistant(({ writer, toolCall }) => { writer.text( toolCall?.approved ? "Archived 3 drafts." : "Okay, leaving them in place." ) }) - Aug 1, 2026
- Date parsed from source:Aug 1, 2026
- First seen by Releasebot:Aug 6, 2026
- Modified by Releasebot:Oct 15, 2026
August 2026 - Questionnaire
shadcn releases Questionnaire, a new component for multi-step question flows such as onboarding, surveys, and agent prompts. Available for Base UI, React Aria, and Radix across all eight styles, it supports flexible answers, validation, navigation, and progress controls.
Today, we're releasing Questionnaire, a new component for multi-step question flows. Use it for agent clarification prompts, onboarding, surveys, intake forms, and configuration.
Questionnaire is available for Base UI, React Aria, and Radix across all eight styles.
Questionnaire
Question 1 of 3
What should the agent build next?
Choose a direction or describe another task.
Tool call timeline Show what the agent ran and what came back.
Approval checkpoints Ask before sensitive or destructive actions.
Sub-agent handoffs Make delegated work and results easier to follow.
Another agent feature
Next
Features
- Single and multiple selection with native radios and checkboxes.
- Freeform answers alongside fixed choices.
- Explicit skipping for optional questions.
- Previous, next, submit, and custom progress controls.
- Required and custom validation.
- Controlled navigation, saved defaults, and conditional questions.
- Keyboard navigation with optional letter or number shortcuts.
- Native form serialization and server-rendered collection state.
- Standalone, Card, and Dialog composition.
Installation
pnpm dlx shadcn@latest add questionnaire@shadcn/react
The component is also available as an unstyled headless primitive in @shadcn/react. Read the docs to learn more.
Original source Similar to shadcn with recent updates:
- Microsoft 365 updates73 release notes · Latest Nov 17, 2026
- Notion updates159 release notes · Latest Nov 21, 2026
- xAI updates145 release notes · Latest Nov 19, 2026
- Claude Code updates495 release notes · Latest Nov 21, 2026
- OpenAI Models updates55 release notes · Latest Nov 18, 2026
- Gemini updates481 release notes · Latest Nov 23, 2026
- Jul 11, 2026
- Date parsed from source:Jul 11, 2026
- First seen by Releasebot:Jul 11, 2026
July 2026 - Base UI as the Default
shadcn now defaults new projects to Base UI, making it the default component library in shadcn/ui while keeping Radix supported. The docs and create flow now favor Base UI, and a new migration skill helps teams move component by component when ready.
Starting today, Base UI is the default component library in shadcn/ui.
First, a bit of history. When shadcn/ui launched in January 2023, it was built on Radix. At the time, nothing else came close. Unstyled headless components, great APIs, great accessibility, battle-tested in millions of apps.
Fast forward a few years and the same folks who built Radix are building something new: Base UI. They've done it once. Now they get to do it again, with everything they learned the first time.
Last year, Base UI tagged a beta and a lot of you asked if we are going to replace Radix with it. I said "the worst thing you can do for your production app is switch component libraries". I meant it, and it still holds. So instead of switching, we did the shadcn thing: we rebuilt every component for Base UI, kept the same abstraction, and let you choose. December brought npx shadcn create with both libraries. January brought full Base UI docs.
Then we watched what you did with it.
Why Now
- Base UI is stable. It's at 1.6.0 with 6M+ weekly downloads.
- It keeps getting better. The team ships new and useful components regularly.
- We use it. Every new project we've started runs on Base UI.
- You use it. Projects created on shadcn/create now pick Base UI over Radix 2 to 1.
The community already made the call. We're making it official.
What's Changed
- New projects default to Base UI. Run npx shadcn init and Base UI is the default pick.
- shadcn/create shows Base UI first.
- The docs default to Base UI. Component pages open on the Base UI tab. Radix docs are one click away.
What This Means for You
Radix is not being deprecated. We still support it, and every update and new component will ship for both libraries (unless a component only exists in Base UI).
You do not need to migrate. Radix is a mature, tested library. We still run it in production today and we're not migrating. If your app works, keep shipping.
Prefer Radix for new projects? It's one flag away:
pnpm dlx shadcn init -b radixIf you have scripts or CI running shadcn init non-interactively and expecting Radix, add -b radix to keep them on the same path.
Building a registry? Ship a registry:base config if you want to pin a specific library. Items without one now init as Base UI.
Starting something new? We recommend Base UI.
When You're Ready to Migrate
You don't need to migrate. But if you want to, we built a skill for it:
pnpm dlx skills add shadcn/uiThen ask your coding agent:
migrate accordion to base-uiIt's progressive by default: migrate one component and its usage at a time while your project stays green and shippable. Both libraries coexist while you work. Stop halfway, ship, come back next week and it picks up where you left off. Or ask for the whole project in one go.
Why a skill and not a codemod?
Because you own the code. You've added variants, changed classes, threaded new props. A codemod handles the components you never touched and breaks on the ones you did.
So we shipped knowledge instead: every rename, every prop change, every behavior difference, hand-checked against both libraries. Your agent reads it, figures out what you changed, and carries those changes over.
Mechanical things get fixed everywhere (asChild is now render). Behavior changes get flagged, never silently patched. You decide.
What a migration produces
Every run leaves three things:
- Working code. Typechecked and built before it reports success.
- A report per component in .migration/ at your project root: what changed, what was left alone, and a short checklist of things to verify by hand.
- Clean git history. One commit per component, on a branch. Rollback is deleting the branch.
Here's what a report looks like:
.migration/accordion.mdNo hidden state. Progress lives in your files and git history, so any agent, any session, any day picks up where the last one stopped.
It works with Claude Code, Cursor, or any agent that supports skills. We tested it on real projects: 60+ components, 36 of them on Radix. A full migration ran in about 25 minutes at roughly 10k tokens per component. Clean builds, customizations intact.
Original source - Jul 1, 2026
- Date parsed from source:Jul 1, 2026
- First seen by Releasebot:Aug 1, 2026
- Modified by Releasebot:Aug 6, 2026
July 2026 - Dynamic Search
shadcn adds server-side registry search for faster large catalogs with optional dynamic search support.
Registries can now handle search server-side.
When you run shadcn search, the CLI forwards the search parameters to your registry as query params:
GET /r/registry.json?q=button&limit=50&offset=0Return the matching items with a pagination object and the CLI uses your results as-is. This makes search fast for large registries: no more downloading the full catalog to search it.
Dynamic search is opt-in. Static registries ignore the query params and keep working without any changes.
See the Dynamic Search docs for the full guide.
Original source - Jul 1, 2026
- Date parsed from source:Jul 1, 2026
- First seen by Releasebot:Jul 24, 2026
July 2026 - Toast
shadcn adds a new Toast component for Base UI projects with actions, status types, promises, stacking, and swipe dismissal.
A new Toast component is now available for Base UI projects. It supports actions, status types, promises, stacking, and swipe dismissal.
Add it to your project with the CLI:
Original sourcepnpm dlx shadcn@latest add toast - Jul 1, 2026
- Date parsed from source:Jul 1, 2026
- First seen by Releasebot:Jul 17, 2026
July 2026 - React Aria
shadcn adds React Aria as a first-class component base in shadcn/ui, alongside Base UI and Radix. It brings dedicated docs, support across all eight styles, and CLI setup that handles dependencies, registry resolution, styles, and component installation.
React Aria is now a first-class component base in shadcn/ui.
Build with React Aria Components alongside Base UI and Radix. Pick it in shadcn/create or initialize a project with
--base aria. The CLI handles the dependencies, registry resolution, styles, and component installation.What's New
- A first-class React Aria base - Choose React Aria anywhere you can choose Base UI or Radix, including the CLI, presets, and shadcn/create.
- Full component documentation - React Aria components have dedicated installation, usage, composition, examples, and API reference sections.
- All eight styles - Use React Aria with Vega, Nova, Maia, Lyra, Mira, Luma, Rhea, or Sera.
- Base-specific output - React Aria state selectors and dependencies are scoped to the Aria registry. Existing Base UI and Radix components are unchanged.
Start with React Aria
Use the aria base when initializing a project:
pnpm dlx shadcn@latest init --base ariaOr choose React Aria in shadcn/create. Once the project is initialized, shadcn add installs the React Aria implementation for each component.
Base UI remains the default, and Radix remains fully supported. Existing projects stay on their current base.
Create a React Aria project
Create a React Aria project
Original source - Jul 1, 2026
- Date parsed from source:Jul 1, 2026
- First seen by Releasebot:Jul 15, 2026
July 2026 - Introducing @shadcn/helpers
shadcn releases @shadcn/helpers, a new open source package for small focused app helpers, starting with AI SDK and TanStack AI adapters that power deterministic chat previews, demos, docs, and tests without a model, API route, network request, or API key.
We are open sourcing @shadcn/helpers, a new package for small, focused helpers that make developing apps easier.
Starting with a helper for AI SDK and TanStack AI. It lets you write a conversation in code, then run it through the real useChat lifecycle without a model, API route, network request, or API key.
Your UI receives native framework messages and streaming events, so reasoning, tool calls, loading states, and message components behave the same way they do in production.
Here is a conversation written with the AI SDK helper:
import { createChat } from "@shadcn/helpers/ai-sdk" const chat = createChat() .user("What changed in this release?") .assistant("The release adds keyboard shortcuts and faster search.") .user("Can you check the full release notes?") .sleep(500) .assistant(({ writer }) => { writer.stepStart() // Reasoning. writer.reasoning("I should read the release notes first.") // Tool call. writer.tool("getReleaseNotes", { title: "Reading release notes", input: { version: "latest" }, }) .sleep(500) .output({ highlights: ["Keyboard shortcuts", "Faster search"], }) // Source. writer.sourceUrl({ title: "Release notes", url: "https://example.com/releases", }) // Response. writer.text("The release adds keyboard shortcuts and faster search.") })Pass its messages and transport to useChat :
import { useChat } from "@ai-sdk/react" const initialMessages = chat.get(0) const transport = chat.transport() export function Chat() { const { messages } = useChat({ messages: initialMessages, transport, }) }The package includes two adapters:
- @shadcn/helpers/ai-sdk plugs into AI SDK's useChat as a transport.
- @shadcn/helpers/tanstack-ai plugs into TanStack AI's useChat as a connection and streams real AG-UI events.
Use it to build components, create previews and demos, write documentation, or test streaming interfaces with deterministic output and no backend dependency.
Read the Docs
Original source - Jul 1, 2026
- Date parsed from source:Jul 1, 2026
- First seen by Releasebot:Jul 11, 2026
- Modified by Releasebot:Jul 15, 2026
July 2026 - Introducing shadcn/typeset
shadcn releases Typeset, a CSS styling system for HTML and rendered markdown that lets teams style headings, paragraphs, lists, tables, and code once, then tune size, leading, and flow for different contexts like blogs, docs, and chat.
Today we're releasing shadcn/typeset : a styling system for HTML and rendered markdown, in one CSS file.
Your app renders the same HTML elements everywhere: headings, paragraphs, lists, tables, and code. You style them for your blog, then your docs, and now chat. Typeset lets you style them once, then tune the rhythm for each context.
Add one class and everything inside gets styled. Typeset follows the size of its container, uses your theme, and gives you three controls: size, leading, and flow.
You can create as many typesets as you need. Use a tighter rhythm for chat and a roomier one for docs:
.typeset-chat { --typeset-leading: 1.6; --typeset-flow: 1 em; } .typeset-docs { --typeset-size: 15 px; --typeset-leading: 1.75; --typeset-flow: 1.5 em; }It's also designed for streaming, so new blocks don't restyle earlier ones. The file lives in your project. There's no package or config layer to work around.
Open the typeset builder to create yours, or read the Typeset docs for the full guide.
Build your typeset
Read the docs
Original source - Jun 11, 2026
- Date parsed from source:Jun 11, 2026
- First seen by Releasebot:Jul 11, 2026
June 2026 - Components for Chat Interfaces
shadcn releases a new chat component set for building streaming conversations, including MessageScroller, Message, Bubble, Attachment, and Marker, plus scroll-fade and shimmer utilities. It also adds @shadcn/react for headless behavior with copyable shadcn/ui styling.
MessageScroller
Today, we’re releasing a new set of components for building chat interfaces: MessageScroller, Message, Bubble, Attachment, and Marker.
This is the first phase of the chat components work. We’re taking it one piece at a time, reimagining the abstraction behind each part, and shipping them as shadcn/ui components you can copy, compose, and adapt to your product.
We are starting with the conversation layer: scrolling, message rows, bubbles, attachments, and markers.
We asked ourselves: what makes a great streaming chat experience? Then we abstracted the core rules into a set of primitives: MessageScroller.
MessageScroller is the scroll container for a conversation. It handles the parts that are easy to get wrong: anchored turns, streamed replies, saved thread restore, prepended history, jump-to-message, scroll controls, and visibility tracking.
MessageScroller owns that behavior without owning your messages, AI state, transport, persistence, or model state. You bring the content renderer.
The MessageScroller is also available as an unstyled headless component in @shadcn/react.
Message, Bubble, Attachment, and Marker
The rest of the components cover the everyday pieces you need around the scroller.
- Message lays out a row in the conversation with avatar, alignment, header, content, footer, and grouped messages.
- Bubble renders the message surface, with variants, alignment, reactions, links, buttons, and collapsible content.
- Attachment renders files and images with media, metadata, upload state, actions, and a full-card trigger that keeps actions separately clickable.
- Marker renders status updates, system notes, bordered rows, and labeled separators for things like streaming state, tool activity, and date breaks.
They are intentionally small. Compose them together for AI chats, support inboxes, team threads, group chats, and product-specific conversations.
scroll-fade and shimmer
We also added two new CSS utilities for the details that make chat interfaces feel better.
scroll-fade adds scroll-aware edge fades to scroll containers. Use it on MessageScroller, ScrollArea, attachment rows, and any long list where you want to hint at more content without adding overlays or scroll listeners.
shimmer adds a text shimmer for live status. Use it for things like "Thinking…", "Generating response…", running tools, and streaming markers.
Both utilities ship with shadcn/tailwind.css, so projects initialized with npx shadcn@latest init already have them.
@shadcn/react
We also created @shadcn/react, a new package for unstyled, headless React components.
The first primitive is @shadcn/react/message-scroller. The registry component wraps it with shadcn/ui styles, but the scroll behavior lives in the package: anchoring, auto-follow, prepend preservation, scroll commands, and visibility.
This lets us ship behavior without locking it to a visual style. You still get copy-and-paste components that match your project, and the hard interaction logic stays tested in one place.
Available now for Radix and Base UI.
AI Elements
This does not replace AI Elements. You can keep using AI Elements for AI interface components and patterns. This release is about bringing the core pieces of chat into shadcn/ui, one component at a time.
If you are already using a component from AI Elements, you do not need to rewrite your app. Keep what works. Try the shadcn/ui version when you want the newer abstraction, the updated styling, or support across Radix and Base UI.
The goal is to make these pieces easy to adopt independently. Replace one part, compose it with what you already have, and keep building.
View Components
Original source - Jun 11, 2026
- Date parsed from source:Jun 11, 2026
- First seen by Releasebot:Jul 11, 2026
June 2026 - GitHub Registries
shadcn adds GitHub registries, letting any public repository become a source registry with a root registry.json. Users can install items directly through the shadcn CLI, and repositories can distribute more than components, including hooks, utilities, tokens, templates, workflows and other project files.
You can now turn any public GitHub repository into a registry.
Add a
registry.jsonfile at the root of the repository, define the items you want to distribute, and users can install them directly from GitHub with the shadcn CLI.For example, to install the
project-conventionsitem from theacme/toolkitrepository:GitHub registries are source registries. You do not need to run
shadcn build, publish generated item JSON files or set up a registry server. The CLI reads the rootregistry.json, resolves include entries, finds the requested item and installs the files declared by that item.Distribute anything
Registry items are not limited to components. A GitHub registry can distribute components, hooks, utilities, design tokens, feature kits, project conventions, agent instructions, testing setup, CI workflows, release workflows, templates, codemods, migration kits and other project files.
For example, a repository can expose a
project-conventionsitem that installs shared docs, editor settings and agent instructions:Commands
GitHub registry addresses work with the same commands as other registry addresses.
List items from a GitHub registry:
Search items:
View an item:
Install an item:
See the GitHub Registries docs for the full guide.
Original source - May 11, 2026
- Date parsed from source:May 11, 2026
- First seen by Releasebot:Jul 11, 2026
May 2026 - shadcn eject
shadcn adds a shared Tailwind CSS bundle for Radix and Base UI support, including shared utilities and RTL fixes, and introduces an eject command to inline the CSS and remove the package dependency when needed.
When we added support for both Radix and Base UI, we needed a place for shared Tailwind utilities that both libraries depend on, e.g. custom variants like
data-open:anddata-closed:and utilities likeno-scrollbar.We also ran into a few bugs while working on RTL support that were easier to fix in one shared place rather than duplicating across every component.
So we created
shadcn/tailwind.css. When you runinit, it adds@import "shadcn/tailwind.css"to your global CSS file. It works just like other CSS imports such astw-animate-css: a small dependency that is tree-shaken in production and resolved at build time.If you prefer not to depend on the
shadcnpackage for that CSS, we've added theshadcn ejectcommand. It inlinesshadcn/tailwind.cssinto your global CSS file and removes theshadcndependency from your project.Before
@import "tailwindcss"; @import "tw-animate-css"; @import "shadcn/tailwind.css";After
@import "tailwindcss"; @import "tw-animate-css"; /* ejected from [email protected] */ @theme inline { @keyframes accordion-down { from { height : 0 ; } to { height : var(--radix-accordion-content-height , var(--accordion-panel-height , auto)) ; } } } @custom-variant data-open { & :where ([data-state = "open"]), & :where ([data-open] :not ([data-open = "false"])) { @ slot ; } }In a monorepo, run the command from the workspace that contains your
components.jsonand global CSS file:pnpm dlx shadcn@latest eject -c packages/uiSee the CLI documentation for more details.
Original source
This is the end. You've seen all the release notes in this feed!
Curated by the Releasebot team
Releasebot is an aggregator of official product update announcements from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.