Skip to content
HELiX

Installation

apps/docs/src/content/docs/getting-started/installation Click to copy
Copied! apps/docs/src/content/docs/getting-started/installation
Terminal window
npx create-helix project-name
# or
npm create helix project-name

The 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.

If you’re adding HELiX to an existing project, install the core package plus its required peer:

Terminal window
npm install @helixui/library @helixui/icons @floating-ui/dom

Or with pnpm:

Terminal window
pnpm add @helixui/library @helixui/icons @floating-ui/dom

Current versions:

PackageVersionNotes
@helixui/library^3.9.0Lit 3.x components (core)
@helixui/icons^1.0.0Required peer — icon registry
@floating-ui/dom^1.7.6Required peer — positioning engine for popover-style parts
@helixui/tokens^3.9.0Direct dependency of @helixui/library; installs automatically. Pin explicitly only if your build needs deterministic resolution.
@helixui/react^3.9.0Optional — 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.

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.

  • 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.json packageManager field; newer 9.x will likely work but is unverified)

If you are contributing to HELiX itself:

Terminal window
# Clone the repository
git clone https://github.com/bookedsolidtech/helix.git
cd helix
# Use the correct Node version
nvm use
# Install all dependencies (pnpm workspace-aware)
pnpm install
# Start the documentation dev server
pnpm turbo run dev --filter=docs

HELIX uses Turborepo with pnpm workspaces for build orchestration:

PackageDescriptionStatus
apps/docsAstro/Starlight documentation hubActive
apps/storybookStorybook component playgroundActive
packages/hx-libraryLit 3.x component library (@helixui/library)Active
packages/hx-tokensDesign tokens (@helixui/tokens)Active