Helix – Angular 22 UI components on design tokens: vanilla, signal-based, plain CSS, plus an app shell, Zod forms and AG Grid helpers
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Angular UI component ecosystem by Gravion Labs: vanilla, signal-based components on design tokens with
plain CSS (@gravionlabs/helix-ui), an application shell, dynamic forms from Zod schemas, and AG Grid helpers.
The documentation is published at
gravionlabs.github.io/helix (built from docs/ by
apps/site). The workspace also contains apps/helix-demo, the
showcase application used for development — live at
gravionlabs.github.io/helix/demo/.查看完整 README ↗Angular UI component ecosystem by Gravion Labs: vanilla, signal-based components on design tokens with
plain CSS (@gravionlabs/helix-ui), an application shell, dynamic forms from Zod schemas, and AG Grid helpers.
| Package | Description |
|---|---|
@gravionlabs/helix-shell | Application shell: layout (topbar, nav rail, footer), auth pages, landing widgets, layout signal store, and form infrastructure. |
@gravionlabs/helix-zod | Zod v4 adapter: reactive-forms validator bridge and dynamic forms from annotated Zod schemas. |
@gravionlabs/helix-ag-grid | AG Grid helpers: value formatters, number parsers, and cell styles. |
@gravionlabs/helix-ui | Vanilla Angular components on the Helix tokens (plain CSS, no PrimeNG): button, form controls, select, divider, tooltip, breadcrumb, password, select button. |
The documentation is published at
gravionlabs.github.io/helix (built from docs/ by
apps/site). The workspace also contains apps/helix-demo, the
showcase application used for development — live at
gravionlabs.github.io/helix/demo/.
npm install @gravionlabs/helix-ui
/* styles.css: the components and the tokens they read */
@import "@gravionlabs/helix-ui/styles.css";
@import "@gravionlabs/helix-ui/tokens.css";
import { HxButton } from '@gravionlabs/helix-ui';
<button hx-button type="button">Save</button>
Theming runs on CSS custom properties (--h-*): tokens.css is Helix's own look (the neutral greys of the
sibling sites, indigo primary, Inter; see ADR 0001), dark mode and the
primary colour are switched with provideHxTheme:
// app.config.ts
import { provideHxTheme } from '@gravionlabs/helix-ui';
export const appConfig: ApplicationConfig = {
providers: [provideHxTheme({ storageKey: 'my-app-theme' })],
};
Run apm install before working in this repo. It installs the Angular agent skills declared in apm.yml. The skill folders are git-ignored, so a fresh clone has none. Requires apm.
Browse it as a website at gravionlabs.github.io/helix, or read the Markdown here:
@gravionlabs/helix-ui componenthelix-shell API referenceRequires Node ≥ 24 and pnpm.
pnpm install
pnpm start # Build libs + serve the demo app
pnpm build:lib # Build all libraries (ui, shell, zod, ag-grid) (ends with pnpm tokens:export → dist/tokens/)
pnpm test:lib # Run library unit tests
pnpm lint # biome + eslint + import guards
MIT. The design token values derive from the Aura preset of PrimeNG / PrimeUIX (PrimeTek, MIT) and from Tailwind CSS (MIT); see projects/tokens/NOTICE.