@zgames/ui
v2.0.0
Published
Foundation UI component library for ZGames Technology (iGaming) built with Angular 21 and documented with Storybook, providing reusable atoms/molecules, design tokens, and accessibility/performance validation.
Maintainers
Readme
@zgames/ui
Modern, accessible, and themeable Angular UI component library for iGaming, built with Angular 21 and Storybook.
Features
- Standalone presentational components (atoms, molecules)
- 3-layer design token system (primitives, semantic, component tokens)
- Strict accessibility (WCAG 2.1 AA)
- Storybook documentation and a11y validation
- Unit tests (Vitest)
Installation
npm install @zgames/ui @zgames/design-tokensUsage
Import the standalone component in your Angular app:
import { ZgButtonComponent } from '@zgames/ui';Theming
All styles use CSS variables from @zgames/design-tokens. See the main README for theming strategies.
Build
npm run build:uiArtifacts in dist/ui/.
Testing
npm run test:ui
npm run test:ui:coverageDocumentation
- Storybook:
npm run storybook(local) or see deployed Storybook - API Docs:
npm run docs:ui(Compodoc)
Publish
cd dist/ui
npm publish --access publicContributing
License
MIT
Additional Resources
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.
