Documentation

Build with it in five minutes

67 standalone Angular components, MIT licensed, themed through eight CSS custom properties. No module to import, no config to register, no licence key to paste.

1

Install

terminal
npm i hellskitchen-ui
2

Declare the layer order

src/styles.css
@layer components, utilities;
3

Use a component

settings.component.ts
import { Component, signal } from '@angular/core';
import { HkButtonComponent } from 'hellskitchen-ui';

@Component({
  selector: 'app-settings',
  imports: [HkButtonComponent],
  template: `<hk-button tone="brand" [loading]="saving()" (pressed)="save()">Save</hk-button>`
})
export class SettingsComponent {
  readonly saving = signal(false);
  save() { this.saving.set(true); }
}

Guides

Global tokens

Every component derives from these. Component-specific tokens are listed on each component's page and all fall back to one of them.

PropertyDefaultControls
--hk-accent#dc2626Primary accent for fills, rails and focus rings.
--hk-accent-softrgb(220 38 38 / 0.16)Tinted background for subtle variants and chips.
--hk-surface#0b0b0cComponent background.
--hk-borderrgb(255 255 255 / 0.10)Hairline borders and dividers.
--hk-text#f5f5f5Foreground text colour.
--hk-radius12pxCorner radius scale. Every component derives from it.
--hk-density1Multiplier on internal padding. 0.7 is compact, 1.6 is roomy.
--hk-motion200msBase transition duration. Set to 0 to disable animation.

Components with live demos