# February 2026 - Unified Radix UI Package · JGuang UI

> 本页提供 JGuang UI 技术内容、中文导航与术语适配。

- 页面: https://jiguang132.com/zh/systems/jguang-ui/docs/changelog/2026-02-radix-ui
- 改编自: shadcn/ui 文档 (MIT) @ bc0705384b51252af26dcc65425b216bf5eb063c
- 说明：正文保留英文原文。

The `new-york` style now uses the unified `radix-ui` package instead of individual `@radix-ui/react-*` packages.

### What's Changed

When you add components using the `new-york` style, they will now import from `radix-ui` instead of separate packages:

```diff title="components/ui/dialog.tsx"
- import * as DialogPrimitive from "@radix-ui/react-dialog"
+ import { Dialog as DialogPrimitive } from "radix-ui"
```

This results in a cleaner `package.json` with a single `radix-ui` dependency instead of multiple `@radix-ui/react-*` packages.

### Migrating Existing Projects

If you have an existing project using the `new-york` style, you can migrate to the new `radix-ui` package using the migrate command:

```text
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
```

This will update all imports in your UI components and add `radix-ui` to your dependencies.

To migrate components outside of your `ui` directory, use the `path` argument:

```text
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
```

Once complete, you can remove any unused `@radix-ui/react-*` packages from your `package.json`.

See the [migrate radix documentation](/systems/jguang-ui/docs/cli#migrate-radix) for more details.

---

JGuang 全部资源索引: https://jiguang132.com/llms.txt
