A production-ready Web Component library built with Lit 3.x and TypeScript for healthcare organizations that demand accessibility compliance, design token theming, and Drupal CMS integration.
npm install @helixui/libraryThen use components in your HTML:
<script type="module">
import '@helixui/library';
</script>
<hx-button variant="primary">Get Started</hx-button>
<hx-card variant="outlined" elevation="raised">
<span slot="heading">Patient Portal</span>
<p>Accessible, themeable components for healthcare UIs.</p>
<hx-button slot="footer" variant="primary">Learn More</hx-button>
</hx-card>Or import individual components for optimal tree-shaking:
import '@helixui/library/components/hx-button';
import '@helixui/library/components/hx-card';-
Healthcare accessibility built in — Targeting WCAG 2.1 AA compliance ahead of the HHS Section 504 mandate (May 2026). Every component is keyboard-navigable, screen reader compatible, and tested with axe-core. Accessibility audits are ongoing as we work toward full AA conformance across all 73 components.
-
Framework-agnostic Web Components — Built on Lit 3.x and the Web Components standard. Works in React, Angular, Vue, Drupal, or plain HTML. No framework lock-in, no adapter libraries.
-
Design token theming — Three-tier token architecture (primitive → semantic → component) with CSS custom properties. Theme entire applications by overriding
--hx-*tokens — light mode, dark mode, and high contrast modes included. -
Enterprise-grade quality — TypeScript strict mode, 73 components, 3-tier code review, automated accessibility testing, and most components <5KB gzipped (hx-theme is larger due to design token imports). Built for organizations where software failures impact patient care.
HELiX ships 73 production components spanning the full spectrum of UI needs:
| Category | Components |
|---|---|
| Actions | hx-button, hx-button-group, hx-copy-button, hx-action-bar |
| Forms | hx-text-input, hx-checkbox, hx-radio-group, hx-select, hx-combobox, hx-date-picker, hx-file-upload, hx-form |
| Data Display | hx-card, hx-data-table, hx-list, hx-tree-view, hx-badge, hx-avatar, hx-tag |
| Feedback | hx-alert, hx-toast, hx-progress-bar, hx-spinner, hx-skeleton |
| Navigation | hx-breadcrumb, hx-tabs, hx-pagination, hx-sidebar, hx-menu |
| Layout | hx-grid, hx-container, hx-divider, hx-header, hx-stack |
| Overlays | hx-dialog, hx-drawer, hx-tooltip, hx-popover, hx-dropdown |
Browse all components in Storybook →
Full documentation is available at helix.bookedsolid.tech:
- Getting Started — Installation, setup, and first component
- Component API Reference — Auto-generated from Custom Elements Manifest
- Design Tokens — Token architecture, theming guide, and token reference
- Drupal Integration — Twig templates, Drupal behaviors, and CDN delivery
- Accessibility — WCAG compliance guide and testing procedures
HELiX is designed for seamless Drupal CMS integration:
{# node--article--teaser.html.twig #}
<hx-card variant="outlined" elevation="raised" href="{{ url }}">
<img slot="image" src="{{ image_url }}" alt="{{ image_alt }}">
<span slot="heading">{{ node.label }}</span>
{{ node.body.summary }}
</hx-card>See the Drupal Integration Guide for complete setup instructions, Twig patterns, and JavaScript behaviors.
- Node.js 22 LTS or Node.js 24 (Node 20 reaches upstream EOL on 2026-04-30)
- pnpm 9+ (via Corepack:
corepack enable) - Git
git clone https://github.com/bookedsolidtech/helix.git
cd helix
pnpm install
pnpm run dev # Start library + Storybook + docspnpm run dev # All apps + library (Turborepo)
pnpm run dev:storybook # Storybook on port 3151
pnpm run dev:docs # Documentation site on port 3150
pnpm run build # Build everything
pnpm run test # Run all tests (Vitest browser mode)
pnpm run type-check # TypeScript strict check
pnpm run verify # Lint + format + type-check (required before push)| Layer | Technology |
|---|---|
| Components | Lit 3.x, Shadow DOM, CSS Parts, ElementInternals |
| Language | TypeScript (strict mode) |
| Build | Vite library mode, per-component entry points |
| Testing | Vitest browser mode + Playwright |
| API Docs | Custom Elements Manifest (CEM) |
| Stories | Storybook 10.x |
| Docs | Astro Starlight |
| Monorepo | Turborepo + pnpm workspaces |
See CONTRIBUTING.md for guidelines. All contributions must:
- Pass TypeScript strict mode (
pnpm run type-check) - Include tests with 80%+ coverage
- Meet WCAG 2.1 AA accessibility standards
- Include Storybook stories for all variants
Documentation · Storybook · NPM · Issues
Built with care for healthcare.