Astro
Requirements:
- React 18 or later
- Tailwind CSS 3.4 or later
Open UI is built on top of React, so you need to install React first. You can follow the official integration guide to install React.
Installation
In your Astro 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.mjs
file:
Ready 🎉
Now you can import Open UI components and use them in your Astro project: