Installation
apps/docs/src/content/docs/getting-started/installation Click to copy apps/docs/src/content/docs/getting-started/installation Fastest path: scaffold a project
Section titled “Fastest path: scaffold a project”npx create-helix project-name# ornpm create helix project-nameThe create-helix CLI prompts through framework, components, and bundles,
then writes a runnable project at ./project-name/. See the
create-helix CLI guide for templates,
presets, and flags.
Install manually
Section titled “Install manually”If you’re adding HELiX to an existing project, install the core package plus its required peer:
npm install @helixui/library @helixui/icons @floating-ui/domOr with pnpm:
pnpm add @helixui/library @helixui/icons @floating-ui/domCurrent versions:
| Package | Version | Notes |
|---|---|---|
@helixui/library | ^3.9.0 | Lit 3.x components (core) |
@helixui/icons | ^1.0.0 | Required peer — icon registry |
@floating-ui/dom | ^1.7.6 | Required peer — positioning engine for popover-style parts |
@helixui/tokens | ^3.9.0 | Direct dependency of @helixui/library; installs automatically. Pin explicitly only if your build needs deterministic resolution. |
@helixui/react | ^3.9.0 | Optional — React 18/19 wrappers |
If you are upgrading an existing project from @helixui/library@3.8.x or earlier, see the 3.8.0 → 3.9.0 migration guide — @helixui/icons is a new required peer dependency.
CDN (No Build Step)
Section titled “CDN (No Build Step)”The library is published in npm-package “library mode” — dist/index.js contains bare imports (lit, @helixui/tokens, etc.) that the browser cannot resolve without an import map. Use the snippet below — and pin to the version you’ve tested against, not @latest:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@helixui/library@3.9.0/dist/css/helix-all.css"/>
<script type="importmap"> { "imports": { "@helixui/library": "https://cdn.jsdelivr.net/npm/@helixui/library@3.9.0/dist/index.js", "@helixui/tokens": "https://cdn.jsdelivr.net/npm/@helixui/tokens@3.9.0/dist/index.js", "@helixui/icons": "https://cdn.jsdelivr.net/npm/@helixui/icons@1.0.0/dist/index.js", "@floating-ui/dom": "https://cdn.jsdelivr.net/npm/@floating-ui/dom@1.7.6/+esm", "lit": "https://cdn.jsdelivr.net/npm/lit@3/+esm", "lit/": "https://cdn.jsdelivr.net/npm/lit@3/" } }</script><script type="module"> import '@helixui/library';</script>unpkg works as a drop-in alternative to cdn.jsdelivr.net/npm for any of the URLs above.
Prerequisites
Section titled “Prerequisites”- Node.js 22 LTS or Node.js 24 (Node 20 reaches upstream EOL on 2026-04-30)
- pnpm 9.15.9 (the monorepo pins this exact version in the root
package.jsonpackageManagerfield; newer 9.x will likely work but is unverified)
Contributing / Monorepo Setup
Section titled “Contributing / Monorepo Setup”If you are contributing to HELiX itself:
# Clone the repositorygit clone https://github.com/bookedsolidtech/helix.gitcd helix
# Use the correct Node versionnvm use
# Install all dependencies (pnpm workspace-aware)pnpm install
# Start the documentation dev serverpnpm turbo run dev --filter=docsMonorepo Structure
Section titled “Monorepo Structure”HELIX uses Turborepo with pnpm workspaces for build orchestration:
| Package | Description | Status |
|---|---|---|
apps/docs | Astro/Starlight documentation hub | Active |
apps/storybook | Storybook component playground | Active |
packages/hx-library | Lit 3.x component library (@helixui/library) | Active |
packages/hx-tokens | Design tokens (@helixui/tokens) | Active |
Next Steps
Section titled “Next Steps”- Quick Start - Build your first component
- Project Structure - Understand the monorepo layout
- Architecture Overview - System design decisions