> ## Documentation index
> Fetch the complete documentation index at: https://create-shadcn-js.docs.hyperdyn.in/llms.txt
> Ask it with GET https://create-shadcn-js.docs.hyperdyn.in/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.

# Introduction

> Scaffold a Vite + React + shadcn/ui JavaScript project with zero manual setup.

`create-shadcn-js` is a one-command scaffolder for **Vite + React (JavaScript) + Tailwind CSS + shadcn/ui**.

It handles the setup the official shadcn CLI assumes you have already done:

- `jsconfig.json` with the `@/*` path alias
- a Vite `@` alias
- `components.json` with `"tsx": false` and `"rsc": false`
- `src/lib/utils.js` with the `cn()` helper
- a Tailwind v4 or legacy v3 toolchain

## Quick start

```bash
npx create-shadcn-js@latest
```

Or pass a project name and options:

```bash
npx create-shadcn-js@latest my-app --pm npm -t v4 -m quickstart
```

## Why use it?

Most shadcn/ui setup guides assume TypeScript. `create-shadcn-js` gives JavaScript and JSX projects the same first-class experience: correct aliases, a working `utils.js`, `.jsx` components, and a toolchain that builds.

- **JavaScript-first** — no TypeScript drift.
- **Both Tailwind paths** — v4 by default, v3 kept on a compatible pinned toolchain.
- **Package-manager native** — npm, pnpm, yarn, and bun.
- **Fails loudly** — validates the shadcn output instead of reporting a false success.
- **Safe non-interactive mode** — never empties a non-empty directory without `--force`.

Continue with [Quickstart](/quickstart) or read the [CLI options](/cli-options).
