Installation

Get started with Saha UI in minutes. Follow this guide to set up your project.

Prerequisites

Node.jsv22+
Reactv18+
Tailwind CSSv4.0+

1Create a new project

Start by creating a new Next.js project using create-next-app.

bash
$npx create-next-app@latest my-app --typescript --tailwind --eslint

2Initialize Saha UI

Run the init command to configure Saha UI in your project. This will install dependencies and set up the necessary files.

bash
$npx saha-ui@latest init
⚠️
Note: You will be asked a few questions to configure components.json.

3Start building

You can now start adding components to your project.

app/page.tsx
import { Button } from "saha-ui";

export default function Home() {
return (
<div>
<Button>Click me</Button>
</div>
);
}