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

quartz-headless

v0.0.3

Published

Headless, unstyled Angular 21 UI primitives — overlay, dialog, splitter, toast, drag-drop, tooltip, tree, virtual scroll, viewport

Readme

Quartz Headless

Headless, unstyled Angular 21 UI primitives. You own the styles — Quartz owns the behaviour.

npm license angular

Docs & demos →


Primitives

| Primitive | Description | | ---------------- | ----------------------------------------------------------------------- | | overlay | Portal-based positioning system for dropdowns, menus, and popovers | | dialog | Service-driven dialog and drawer with backdrop and focus trap | | splitter | Resizable panel system with keyboard navigation and touch support | | toast | Lightweight notification system with position groups and auto-dismiss | | drag-drop | Accessible drag and drop with keyboard support | | tooltip | Accessible tooltip with configurable placement (coming soon) | | listbox | WAI-ARIA listbox with keyboard navigation and selection (coming soon) | | tree | Collapsible tree with keyboard navigation and selection | | virtual-scroll | Windowed rendering for long lists | | viewport | Reactive breakpoint service with ViewportMatchDirective |

All primitives are zoneless (Angular signals), standalone, and tree-shakeable.


Getting started

Option A — npm package

npm install quartz-headless
// app.config.ts
import { provideZonelessChangeDetection } from '@angular/core';

export const appConfig: ApplicationConfig = {
  providers: [provideZonelessChangeDetection()],
};
// your.component.ts
import { OverlayTriggerDirective } from 'quartz-headless';

@Component({
  imports: [OverlayTriggerDirective],
  template: `
    <button qzOverlayTrigger [overlayTemplate]="tpl" placement="bottom-start">Open dropdown</button>

    <ng-template #tpl>
      <ul class="my-menu">
        ...
      </ul>
    </ng-template>
  `,
})
export class MyComponent {}

Option B — copy source with the CLI

The CLI copies the raw TypeScript source into your project so you own the code and can modify it freely. Clone the Quartz repo and run from within it:

git clone https://github.com/Andersseen/quartz.git
cd quartz && pnpm install

# List available primitives
pnpm quartz list

# Add one or more (transitive deps resolved automatically)
pnpm quartz add overlay
pnpm quartz add overlay dialog splitter

# Custom output directory
pnpm quartz add toast --output src/app/ui

Files are copied into your project's src/lib/components/<name>/ (auto-detected) or the path you specify with --output.


Peer requirements

| Dependency | Version | | ----------------- | --------- | | @angular/core | ^21.0.0 | | @angular/common | ^21.0.0 | | Node.js | >=20 |


Local development

# Install dependencies
pnpm install

# Dev server — http://localhost:5173
pnpm start

# Build the library (output: dist/quartz/)
pnpm build:lib

# Unit tests (Vitest)
pnpm test
pnpm test:watch

# E2E tests (Playwright — starts dev server automatically)
pnpm e2e
pnpm e2e:ui

# Type check
pnpm typecheck

# Lint & format
pnpm lint
pnpm format

Adding a new primitive

  1. Create packages/quartz/src/lib/<name>/ following the existing pattern.
  2. Export from packages/quartz/src/public-api.ts.
  3. Register in cli/registry.js (name, files, optional deps).
  4. Add a demo page under src/app/pages/(docs)/<name>.page.ts.

Publishing

# Ensure you're logged in: npm login
pnpm publish:lib

License

MIT © Andersseen