The essentials

CLI

Copy-and-own, from your terminal.

Source checkout only

The package is not published to npm. Use node packages/cli/index.js from the repository, or an absolute path from another working directory. Do not run npx blocks-ui expecting this project.

Commands

node packages/cli/index.js init
node packages/cli/index.js create my-site --template saas
node packages/cli/index.js add accordion
node packages/cli/index.js add hero --dry-run
node packages/cli/index.js add tabs --registry ./dist/r
node packages/cli/index.js page create about

Existing files

The CLI refuses overwrites by default. Review --dry-run before using --force. Dependency and path validation happens before file writes.

AEM target

Use --target aem for an existing EDS project. Install canonical block files and let the existing AEM loader manage them. Do not start a second standalone loader.

Why a small CLI?

The registry reuses shadcn's schema, but a plain web project should not need React, Tailwind, or component aliases. The local CLI handles native file targets and website scaffolding without those assumptions.

Edit this page on GitHub

Search documentation

Search the docs, components, and blocks. Use Tab to select a result.