Getting started

Novix CLI

A small, opinionated command line for scaffolding, adding, and auditing Novix components in your project.

The CLI is copy-first, not install-first. Every component becomes real code inside your repository — no black boxes, no version lock, no cascade of unwanted dependencies.

init

Bootstraps tokens, tailwind wiring, and the ThemeProvider into an existing React project.

tsx
novix init

add

Copies a component (and its dependencies) into your codebase. Own the source, edit freely.

tsx
novix add button card dialog

theme

Generates an OKLCH-based palette variant with automatic contrast validation.

tsx
novix theme --base zinc --accent violet

diff

Shows the delta between your local copy and the latest upstream — no forced upgrades.

tsx
novix diff button

doctor

Detects missing tokens, stale versions, or accidental hardcoded colors in your components.

tsx
novix doctor