create-hua
v1.4.0
Published
Scaffolding tool for creating HUA projects
Maintainers
Readme
@hua-labs/create-hua
Interactive scaffolding CLI for creating Next.js + hua projects. Generates a pre-wired project with UI, motion, i18n, state, and AI context files.
Features
- Interactive prompts — Choose AI context files and documentation language
- Pre-wired stack — Next.js 16, React 19, Tailwind 4, Zustand 5, hua i18n
- Doctor command — Diagnose existing project health
- Monorepo aware — Detects pnpm workspace, uses workspace:* versions
- AI context — Optional .cursorrules, ai-context.md, .claude/ generation
Quick Start
npx create-hua my-app
cd my-app
pnpm install
pnpm dev
API
| Export | Type | Description |
| --------------- | -------- | ------------------------------------------------------------- |
| createProject | function | Scaffold a new Next.js + hua project with interactive prompts |
CLI Commands
npx create-hua <project-name> [options] # Create a new project
npx create-hua doctor [path] # Diagnose project healthRelated Packages
License
MIT — HUA Labs
