Vite
Requirements:
- Vite 4 or later
- React 18 or later
- Tailwind CSS 3.4 or later
Installation
In your Vite React project, run one of the following command to install Open UI:
Tailwind CSS Setup
Open UI is built on top of Tailwind CSS, so you need to install Tailwind CSS first. You can follow the official
installation guide to install Tailwind CSS. Then you need to add
the following code to your tailwind.config.js
file:
Ready 🎉
Now, you can use the component you installed in your application 🎉.
Import the component in your App.jsx
file: