Installation

Install Cubix in a new or existing React project. Prefer the CLI template for Next.js and Vite, or follow a framework guide for step-by-step setup.

Quick start

Scaffold and configure in one command:

pnpm dlx cubix-ui@latest init -t next

Requirements

  • React 18+ (React 19 recommended)
  • Tailwind CSS v4
  • TypeScript (project default)
  • A path alias for @/*

Cubix does not replace your framework scaffold. Create the app with the framework tooling, then cubix-ui init writes tokens, lib/utils.ts, and cubix.json. Default base is Base UI - pass --base aria or --base radix when needed. Full flags are on the CLI page.

Choose your framework

Each guide covers New project and Existing project paths where they apply.

Next steps