Installation

System requirements and setup instructions for your React projects.

Quick Install

npm install -g sekerbura

Project Requirements

Next.js or Vite

Works with App Router, Pages Router, and Vite projects.

Tailwind CSS

Tailwind must be configured in your project.

Step-by-Step Setup

1

Initial Configuration

Run the init command to set up the base utilities and dependencies.

npx sekerbura init
2

Add your first component

The CLI will create the component file and install necessary icons/libraries.

npx sekerbura add button

What's Created?

src/lib/utils.ts

The essential `cn()` utility for merging Tailwind classes.

src/components/sekerbura/

Your source-controlled components library.

Automatic Dep Management

Sekerbura auto-detects if you're using npm, yarn, or pnpm and installs `clsx`, `tailwind-merge`, and `class-variance-authority` for you.