npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@geoit/ui

v0.0.4

Published

GEO UI — Angular 18 + ng-zorro design system components

Readme

@geoit/ui

GEO design system for Angular 18 + ng-zorro 18. Standalone components, design tokens, and AI-ready usage docs.

Install

npm install @geoit/ui

Peer dependencies (install in your app if missing):

npm install @angular/animations@^18 @angular/common@^18 @angular/core@^18 \
  @angular/forms@^18 @angular/cdk@^18 @ant-design/icons-angular@^18 ng-zorro-antd@^18

Setup styles (once per app)

In your global styles (e.g. styles.scss):

@import 'node_modules/@geoit/ui/src/lib/styles/design-tokens.scss';
@import 'node_modules/@geoit/ui/src/lib/styles/theme.scss';

Use tokens in your CSS — do not hardcode brand colors or radius:

  • var(--geo-color-primary-default)
  • var(--geo-radius) (default 6px)

Quick start

import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import {
  GeoButtonComponent,
  GeoInputComponent,
  GeoFormModalComponent,
  GeoToastService,
} from '@geoit/ui';

@Component({
  standalone: true,
  imports: [FormsModule, GeoButtonComponent, GeoInputComponent, GeoFormModalComponent],
  template: `
    <geo-button appearance="primary" color="brand" icon="plus" (clicked)="open = true">
      Thêm mới
    </geo-button>

    <geo-form-modal
      [open]="open"
      title="Thêm mới"
      cancelText="Hủy bỏ"
      okText="Lưu"
      (openChange)="open = $event"
      (ok)="save()"
    >
      <geo-input label="Tên" [required]="true" [block]="true" [(ngModel)]="name"></geo-input>
    </geo-form-modal>
  `,
})
export class DemoComponent {
  open = false;
  name = '';

  constructor(private toast: GeoToastService) {}

  save(): void {
    this.toast.success('Thành công!', 'Đã lưu.');
    this.open = false;
  }
}

Common components

| Need | Component | Example | |------|-----------|---------| | Button / CTA | geo-button | <geo-button appearance="primary" color="brand">Lưu</geo-button> | | Text field | geo-input | <geo-input label="Họ tên" [(ngModel)]="name" [block]="true"> | | Select | geo-select | <geo-select [options]="opts" [(ngModel)]="v" [block]="true"> | | Checkbox | geo-checkbox | <geo-checkbox label="Đồng ý" [(checked)]="ok"> | | Radio | geo-radio | <geo-radio [options]="opts" [(ngModel)]="v"> | | Form dialog | geo-form-modal | See Quick start | | Confirm delete | geo-confirm-modal | [visible] + (confirm) | | Steps in dialog | geo-form-modal + geo-stepper | See recipes | | Page title | geo-page-title | <geo-page-title title="Chi tiết hồ sơ"> | | Breadcrumb | geo-breadcrumb | [items]="[{ label, link? }]" | | Toast | GeoToastService | this.toast.success(title, message) | | Alert | geo-alert | type="success" \| "error" \| … | | Status pill | geo-status-tag | status="success" label="Đã duyệt" | | Table | geo-table | [columns] + [data] + paging | | Upload | geo-upload | Drag-drop multi-file | | Typography | geo-typography | variant="h3" \| "body" \| … |

Button API (quick)

| Input | Values | Default | |-------|--------|---------| | appearance | primary | secondary | tertiary | primary | | color | brand | danger | warning | success | brand | | icon / iconPlacement | Ant icon name; start | end | start | | disabled / iconOnly / active | boolean | false |

<geo-button appearance="primary" color="brand" icon="plus">Thêm mới</geo-button>
<geo-button appearance="primary" icon="right" iconPlacement="end">Tiếp theo</geo-button>
<geo-button appearance="secondary" (clicked)="cancel()">Hủy</geo-button>

Form controls & ngModel

These implement ControlValueAccessor — use [(ngModel)] or reactive forms:

geo-input, geo-textarea, geo-select, geo-radio, geo-date-picker, geo-date-range-picker, geo-slider

geo-checkbox uses [(checked)] (not CVA).

Toast (preferred)

import { GeoToastService } from '@geoit/ui';

constructor(private toast: GeoToastService) {}

this.toast.success('Thành công!', 'Đã lưu hồ sơ.');
this.toast.error('Lỗi!', 'Không thể lưu.');

Full docs (shipped in the package)

After install:

| Path | Purpose | |------|---------| | node_modules/@geoit/ui/ai/AGENTS.md | Rules for humans & AI agents | | node_modules/@geoit/ui/ai/README.md | Component index | | node_modules/@geoit/ui/ai/catalog.json | Machine-readable catalog | | node_modules/@geoit/ui/ai/components/*.md | Per-component API (inputs/outputs/examples) | | node_modules/@geoit/ui/ai/recipes.md | Copy-paste screen patterns |

Open a component doc before using it, e.g.:

node_modules/@geoit/ui/ai/components/geo-button.md
node_modules/@geoit/ui/ai/components/geo-form-modal.md
node_modules/@geoit/ui/ai/components/geo-table.md

Cursor rule (recommended)

.cursor/rules/geo-ui.mdc in your app:

---
description: Use @geoit/ui components
alwaysApply: true
---

UI must use `@geoit/ui`. Before writing UI, read:
- node_modules/@geoit/ui/ai/AGENTS.md
- node_modules/@geoit/ui/ai/catalog.json
- node_modules/@geoit/ui/ai/components/<selector>.md when needed

Design tokens

| Group | Examples | |-------|----------| | Primary | --geo-color-primary-default (#9A4828), hover, light, dark, background | | Neutral | --geo-color-neutral-900100, white | | Semantic | success / error / warning / info | | Radius | --geo-radius (6px) | | Font | --geo-font-family |

TypeScript mirror: geoColorTokens from @geoit/ui (via styles/tokens export).

License

Internal / project license — see repository.