Introduction
Reka UI
We've transitioned from Headless UI to Reka UI as our core component foundation. This shift brings several key advantages:
- : With 55+ primitives, Reka UI significantly expands our component offerings.
- : Reka UI's growing popularity ensures ongoing improvements and updates.
- : Built-in accessibility features align with our commitment to inclusive design.
- : Seamless integration with Vue 3 and the Composition API.
This transition empowers Nuxt UI to become a more comprehensive and flexible UI library, offering developers greater power and customization options.
Tailwind CSS v4
Nuxt UI integrates the latest Tailwind CSS v4, bringing significant improvements:
- : Full builds in the new engine are up to 5x faster, and incremental builds are over 100x faster — and measured in microseconds.
- : Built-in import handling, vendor prefixing, and syntax transforms, with no additional tooling required.
- : A reimagined developer experience where you customize and extend the framework directly in CSS instead of a JavaScript configuration file.
- : Built on native cascade layers, wide-gamut colors, and including first-class support for modern CSS features like container queries, @starting-style, popovers, and more.
Tailwind Variants
We've adopted Tailwind Variants to manage our design system, offering:
- : Flexible component variants with a powerful API
- : Full TypeScript support with auto-completion
- : Efficient merging of conflicting styles
This integration unifies the styling of components, ensuring consistency and code maintainability.
TypeScript Integration
Nuxt UI offers significantly improved TypeScript integration, providing a superior developer experience:
- :
- Full auto-completion for component props based on your theme
- Intelligent suggestions for
app.config.ts
theme configuration
- :
- Built using Vue 3 Generics
- Improved type inference for slots and events
- :
- Leveraging Tailwind Variants for type-safe styling options
- Customizable types for extended theme configurations
Vue compatibility
You can now use Nuxt UI in any Vue project without Nuxt by adding the Vite and Vue plugins to your configuration. This provides:
- : Components and composables are automatically imported and available globally
- : Full theming support with customizable colors, sizes, variants and more
- : Complete TypeScript support with IntelliSense and auto-completion
Nuxt DevTools Integration
You can play with Nuxt UI components as well as your app components directly from Nuxt Devtools with the compodium module, providing a powerful development experience:
- : Inspect and analyze Nuxt UI components in real-time
- : Modify component props and see changes instantly
- : Get the corresponding code for your component configurations
npx nuxi module add compodium
Migration
We want to be transparent: migrating from Nuxt UI v2 to v3 will require significant effort. While we've maintained core concepts and components, Nuxt UI v3 has been rebuilt from the ground up, resulting in a new library with enhanced capabilities.
Key points to consider:
- Read our migration guide to upgrade your project from v2 to v3.
- Review the new documentation and components carefully before attempting to upgrade.
- If you encounter any issues, please report them on our GitHub repository.
FAQ
We're excited about the possibilities Nuxt UI v3 brings to your projects. Explore our documentation to learn more about new features, components, and best practices for building powerful, accessible user interfaces.