shadcn-ui/ui [email protected][email protected]

This release is a small feature and cleanup pass for the CLI, registry catalog, and docs. It adds a new apply --only flag, expands registry support, and fixes a couple of rough edges in initialization and registry fetching.

What's new

  • apply now supports an --only flag, giving you a narrower way to apply changes when you do not want the full set of updates. (#10451)
  • The CLI now includes a Dark Mode guide for TanStack Start. It follows the framework’s pre-hydration theme script pattern and adds SSR/client alignment, colorScheme updates, and a prefers-color-scheme listener for "system" mode. (#10396)
  • The registry directory grows with new entries for @xcn, @loading-ui, @aicanvas, and @exabase, so those component sets can be discovered and installed through the v4 registry index. (#10449, #10454, #10440, #10399)
  • A Cursor plugin manifest has been added, turning the repo into a Cursor plugin. (#10445)

Breaking changes

  • None reported.

Fixes

  • shadcn init no longer runs template post-init hooks for projects that already exist, so initialization only triggers the post-init flow for newly created projects. (#10436)
  • Registry fetches now send JSON-friendly Accept headers, which avoids parsing failures when a registry uses HTTP content negotiation and serves HTML by default. (#10179)
  • The @xcn registry URL for JSON files has been corrected. (#10456)
  • chartColor is fixed in presets.