# Migrate from Nuxt UI

ViteHub UI does not replace Nuxt UI yet. The [AI components](https://vitehub.dev/docs/ui/ai-components) and the ViteHub Console are built on Nuxt UI, and they stay on it for now. You can add ui-sdk parts to a Nuxt UI app one page at a time.

## Works today

- **ui-sdk parts next to Nuxt UI.** Add `@ui-sdk/vue/nuxt` to `modules`, and use `<Dialog>` next to `<UButton>`. The names do not collide, because Nuxt UI parts start with `U`. For the part that replaces a Nuxt UI part, see [From Reka UI](https://vitehub.dev/docs/ui/from-reka-ui): most Nuxt UI parts wrap a Reka UI part.
- **Styles with classes.** Style ui-sdk parts with Tailwind CSS classes and the Nuxt UI tokens, such as `data-open:bg-elevated`.
- **Forms.** [`useFormAction()`](https://vitehub.dev/docs/forms/vue) sends a native `<form>`, whatever draws its controls, and `AutoForm` needs no Nuxt UI.
- **The page Capability.** The Agent reads and changes only the parts that ui-sdk registers. It does not see Nuxt UI parts, so move the controls that the Agent works to ui-sdk parts first.

## Not yet

- **A style family in a Nuxt UI app.** The kit family and Nuxt UI both style parts by `data-slot`, and 8 slot names are the same: `avatar`, `button`, `checkbox`, `input`, `label`, `progress`, `separator`, and `toggle`. Each one restyles the other, so do not load `@vite-hub/kit/styles/default.css` in an app with Nuxt UI.
- **A codemod** from `U*` components to ui-sdk parts.
- **AI components without Nuxt UI.**

The Nuxt UI exit is a later plan. It starts when the style family works next to Nuxt UI, and this page will then show each step.

<!-- vitehub-docs:section-links -->
## In this section

- Start
  - [Overview](https://vitehub.dev/raw/docs/ui.md)
  - [Get started](https://vitehub.dev/raw/docs/ui/get-started.md)
  - [Where does it belong?](https://vitehub.dev/raw/docs/ui/where-does-it-belong.md)
  - [From Reka UI](https://vitehub.dev/raw/docs/ui/from-reka-ui.md)
  - [From Nuxt UI](https://vitehub.dev/raw/docs/ui/from-nuxt-ui.md) (this page)
- [AI components](https://vitehub.dev/raw/docs/ui/ai-components.md)
- [Blocks](https://vitehub.dev/raw/docs/ui/blocks/chat-app.md)
- [Parts](https://vitehub.dev/raw/docs/ui/message.md)
- [Chat](https://vitehub.dev/raw/docs/ui/chat.md)
- [Collaboration](https://vitehub.dev/raw/docs/ui/avatar-stack.md)
- [Agent work](https://vitehub.dev/raw/docs/ui/tool-list.md)
- [Utilities](https://vitehub.dev/raw/docs/ui/attachments.md)

Next: [AI components](https://vitehub.dev/raw/docs/ui/ai-components.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
