Docs
Installation
Installation
How to install dependencies and structure your app.
Installation
Prerequisites
simple-ai 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, you can start adding simple-ai components to your project. Each component page in our documentation includes a command you can run to add it to your project:
pnpm dlx shadcn@latest add https://simple-ai.dev/r/chat-message.json
This will:
- Copy the component to your project
- Add all required npm dependencies
- Add any required shadcn/ui components that the component depends on