🌐 Nodejs.cn

2026年2月 - Radix和Base UI的模块

现在所有区块均可用于 Radix 和 Base UI。

所有区块现在都可以在 Radix 和 Base UI 中使用。

🌐 All blocks are now available for both Radix and Base UI.

  • 两个库的所有模块 - 每个模块,包括登录、注册、侧边栏和仪表板模块,现在都可以在 Radix 和 Base UI 版本中使用。
  • 相同的 CLI 工作流程 - 运行 npx shadcn add,CLI 会根据你的项目配置拉取正确的区块变体。

如果你已经用 npx shadcn create 设置了你的项目,模块将自动使用你选择的库。无需额外配置。

🌐 If you've already set up your project with npx shadcn create, blocks will automatically use your chosen library. No additional configuration needed.

pnpm dlx shadcn@latest add login-01

blocks 页面浏览完整收藏。

🌐 Browse the full collection on the blocks page.