Installation
How to install unite-ui in your app.
This guide will help you install and set up unite-ui components in your Vue or Nuxt application.
Getting Started with unite-ui
Compatibility: Since unite-ui is largely based on Inspira UI and shares similar dependencies, the same setup will work for both the adapted components and Unite Originals. This means you can seamlessly use components from both collections in your project.
Note: If you're using shadcn-vue
, you can skip step 1
& 4
.
Installation Steps
1. Set up tailwindcss
Currently Inspira UI supports TailwindCSS v3. Make sure you install TailwindCSS v3.
To begin, install tailwindcss
using this guide.
2. Add depedencies
Install libraries for tailwindcss and utilities.
Install VueUse and other supporting libraries.
Follow this guide to setup motion-v
on Vue and Nuxt
3. Update tailwind.config.js
and tailwind.css
Add the following code to your tailwind.config.js
and your css
file:
4. Setup cn
utility
Add following utility to lib/utils.ts
Great job! Your project is now configured to use unite-ui with Inspira UI dependencies.
Start Using unite-ui 🚀
Now, you can start using unite-ui components in your project. Choose the components you need, copy the code, and integrate them into your application.
:: ::