Docs
Installation
Installation
How to install dependencies and structure your app.
Prerequisites
aoian ui is built on top of shadcn/ui, so you'll need to set it up first:
- Follow the shadcn/ui installation guide to set up shadcn/ui in your project
- Install the base components you need from shadcn/ui using their CLI
- Get familiar with how shadcn/ui works - our components follow the same philosophy
Installing Components
Once you have shadcn/ui set up, two steps of operations are required:
- Initialize aoian ui. It will install CSS variables and modify the Tailwind CSS configuration.
pnpm dlx shadcn@latest add https://ui.aoian.chat/r/index
- Install aoian ui components such as the "bubble" component.
pnpm dlx shadcn@latest add https://ui.aoian.chat/r/bubble
This will:
- Copy the component to your project
- Add all required npm dependencies
- Add any required shadcn/ui components that the component depends on