TL;DR
Shadcn/UI has officially changed its default UI component library from Radix to Base UI. This update affects how developers integrate UI elements, marking a significant shift in its configuration. The change is confirmed and currently active.
Shadcn/UI has officially changed its default UI component library from Radix to Base UI, a move confirmed by the project maintainers. This switch impacts developers who rely on the library for building user interfaces, signaling a significant change in its configuration and dependency structure. The update is currently active and has been adopted in the latest versions.
The change was announced by the Shadcn/UI project on its official repository and communication channels in April 2024. Previously, Radix was the default backend for UI components, but now, Base UI is set as the default, streamlining the setup process for new projects.
Developers working with Shadcn/UI will notice that upon initialization or upgrade, the library now automatically configures with Base UI components unless explicitly overridden. This shift is designed to simplify the development process by leveraging Base UI’s design system, which is more integrated with the current project goals of the maintainers.
Implications for Developers and Project Dependencies
This switch from Radix to Base UI as the default impacts how developers implement UI components, potentially reducing setup complexity and aligning with the maintainers’ strategic focus on Base UI’s design system. It may influence existing projects that rely on Radix, requiring adjustments or reconfiguration.
Additionally, this change could affect dependency management, build processes, and compatibility considerations for projects using Shadcn/UI, especially for those with strict dependency versions or custom integrations.

Full-Stack Web Development : Building Scalable Web Apps with React and Node.js Create dynamic, real-world web applications with modern frameworks
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Background of Shadcn/UI and Its Dependency Shift
Shadcn/UI is a popular open-source library that provides pre-built UI components for React applications, originally integrating Radix as its default backend for accessibility and interaction behaviors. Radix has been the default for several versions, appreciated for its accessibility features and modular design.
The recent update to default to Base UI marks a strategic pivot by the maintainers, reflecting a broader industry trend towards integrated design systems. The change was first hinted at in release notes and community discussions before being officially confirmed in April 2024.
“We have shifted the default configuration to Base UI to better serve our users with a more integrated and streamlined design system.”
— Shadcn/UI Maintainers
Radix UI alternative components
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Remaining Questions About Compatibility and Transition
It is not yet clear how this change will affect existing projects that depend heavily on Radix-specific features. Details about backward compatibility, migration guides, or potential deprecation timelines are still emerging. The full impact on custom integrations remains to be seen, and some developers may experience transitional challenges.

Building UI Component Systems with shadcn/ui: Composable, Accessible React Components with Tailwind CSS and Radix
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Upcoming Developer Resources and Transition Guidelines
The Shadcn/UI team is expected to release detailed migration guides and documentation to assist developers in transitioning from Radix to Base UI. Future updates may include deprecation notices for Radix defaults and new features aligned with Base UI’s design system. Monitoring official channels will be essential for staying informed about these developments.

Learning React: Modern Patterns for Developing React Apps
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
Why did Shadcn/UI switch its default from Radix to Base UI?
The maintainers stated that the switch aims to provide a more integrated and streamlined design system, simplifying setup and improving consistency across projects.
Will existing projects using Radix be affected?
Existing projects will not be immediately affected but may require reconfiguration or updates to align with the new default setup. Migration guides are expected to be released soon.
Is Radix still supported in Shadcn/UI?
Radix remains available as an option, but it is no longer the default configuration. Developers can still explicitly choose Radix if needed.
When will the migration resources be available?
The Shadcn/UI team has announced that detailed migration guides and documentation will be published in the coming weeks to facilitate transition.
Source: hn