An open API service indexing awesome lists of open source software.

https://github.com/bookedsolidtech/helix

HELiX — 72-component enterprise web component library built with Lit 3.x and TypeScript. WCAG 2.1 AA compliant, W3C design tokens, Storybook 10, Drupal-ready. Includes Custom Elements Manifest for AI-assisted development via MCP.
https://github.com/bookedsolidtech/helix

accessibility ai-tools component-library css-custom-properties custom-elements custom-elements-manifest design-system design-tokens drupal enterprise healthcare lit mcp monorepo shadow-dom storybook turborepo typescript wcag web-components

Last synced: 27 days ago
JSON representation

HELiX — 72-component enterprise web component library built with Lit 3.x and TypeScript. WCAG 2.1 AA compliant, W3C design tokens, Storybook 10, Drupal-ready. Includes Custom Elements Manifest for AI-assisted development via MCP.

Awesome Lists containing this project

README

          

HELiX — Enterprise Web Component Library

### Enterprise Healthcare Web Component Library

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 version](https://img.shields.io/npm/v/@helixui/library?logo=npm&label=npm)](https://www.npmjs.com/package/@helixui/library)
[![CI Status](https://img.shields.io/github/actions/workflow/status/bookedsolidtech/helix/ci.yml?branch=main&label=CI&logo=github)](https://github.com/bookedsolidtech/helix/actions)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
[![Bundle Size](https://img.shields.io/badge/bundle-%3C50KB%20gzip-success)](packages/hx-library)
[![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue?logo=typescript)](tsconfig.base.json)
[![WCAG 2.1 AA](https://img.shields.io/badge/WCAG%202.1-AA%20target-blue)](https://www.w3.org/TR/WCAG21/)
[![Docs](https://img.shields.io/badge/docs-helix.bookedsolid.tech-teal)](https://helix.bookedsolid.tech)
[![Storybook](https://img.shields.io/badge/storybook-live-ff4785?logo=storybook)](https://helix-storybook.bookedsolid.tech)

[Documentation](https://helix.bookedsolid.tech) · [Storybook](https://helix.bookedsolid.tech/storybook/) · [NPM Package](https://www.npmjs.com/package/@helixui/library) · [Contributing](CONTRIBUTING.md)

---

## Quick Start

```bash
npm install @helixui/library
```

Then use components in your HTML:

```html

import '@helixui/library';

Get Started

Patient Portal

Accessible, themeable components for healthcare UIs.


Learn More

```

Or import individual components for optimal tree-shaking:

```js
import '@helixui/library/components/hx-button';
import '@helixui/library/components/hx-card';
```

---

## Why HELiX?

- **Healthcare accessibility built in** — Targeting WCAG 2.1 AA compliance ahead of the [HHS Section 504 mandate (May 2026)](https://www.hhs.gov/civil-rights/for-providers/compliance-enforcement/digital-accessibility/). 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.

---

## Components

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 →](https://helix.bookedsolid.tech/storybook/)

---

## Documentation

Full documentation is available at **[helix.bookedsolid.tech](https://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

---

## Drupal Integration

HELiX is designed for seamless Drupal CMS integration:

```twig
{# node--article--teaser.html.twig #}

{{ image_alt }}
{{ node.label }}
{{ node.body.summary }}

```

See the [Drupal Integration Guide](https://helix.bookedsolid.tech/guides/drupal/) for complete setup instructions, Twig patterns, and JavaScript behaviors.

---

## Development

### Prerequisites

- Node.js 22 LTS or Node.js 24 (Node 20 reaches upstream EOL on 2026-04-30)
- pnpm 9+ (via [Corepack](https://nodejs.org/api/corepack.html): `corepack enable`)
- Git

### Setup

```bash
git clone https://github.com/bookedsolidtech/helix.git
cd helix
pnpm install
pnpm run dev # Start library + Storybook + docs
```

### Commands

```bash
pnpm 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)
```

---

## Tech Stack

| Layer | Technology |
| ---------- | ------------------------------------------------------------------- |
| Components | [Lit 3.x](https://lit.dev), 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](https://storybook.js.org) |
| Docs | [Astro Starlight](https://starlight.astro.build) |
| Monorepo | [Turborepo](https://turbo.build) + pnpm workspaces |

---

## Contributing

See [CONTRIBUTING.md](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

---

## License

[MIT](LICENSE)

---

**[Documentation](https://helix.bookedsolid.tech)** · **[Storybook](https://helix.bookedsolid.tech/storybook/)** · **[NPM](https://www.npmjs.com/package/@helixui/library)** · **[Issues](https://github.com/bookedsolidtech/helix/issues)**

Built with care for healthcare.