Manual installation
Open any block page, switch to Code, and copy its HTML, CSS, and JavaScript. Copy styles/tokens.css and styles/base.css once per project. Import the block's decorate function or use the standalone loader.
Source CLI
The CLI is available from a repository checkout, not from npm. Run the following in the Blocks UI checkout, then use an absolute path to the CLI when working in another project.
node packages/cli/index.js init
node packages/cli/index.js add accordion --dry-run
node packages/cli/index.js add accordionCustom registries
node /path/to/blocks-ui/packages/cli/index.js add tabs --registry ./local-registry
node /path/to/blocks-ui/packages/cli/index.js add hero --registry https://gargadobe.github.io/blocks-ui/rOnly use registries you trust. Installed JavaScript is executable source code. Review it before running. The CLI validates paths, resolves dependencies, detects cycles, and refuses to overwrite existing files unless explicitly requested with --force.
No package manager
Manual installation needs no npm or build process. Serve the HTML using a local HTTP server so browser ES module imports work.