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

@design-canvas/components

v0.1.0

Published

Fluent 2 React component library — cards, navigation, surfaces, and Azure Portal icons

Readme

Blueprint Storybook — Fluent 2

A self-growing Storybook repository that houses pipeline-graduated, verified Fluent 2 React components. Components that pass UI verification are proposed via human-reviewed PRs. Once merged and deployed, they become available to any agent that queries this Storybook via MCP.

Quick Start

npm install
npm run dev        # Storybook dev server at http://localhost:6006
npm run build      # Static build to storybook-static/
npm test           # Run vitest
npm run lint       # TypeScript type-check

Repository Structure

src/
├── components/         # Graduated components, organized by category
│   ├── data-display/   # KPI cards, stat tiles, metric indicators
│   ├── layout/         # Page shells, split panes, grids
│   ├── navigation/     # Breadcrumbs, side navs, tab bars
│   ├── cards/          # Resource cards, link cards, info cards
│   ├── forms/          # Form groups, field layouts, filter panels
│   ├── feedback/       # Message bars, empty states, loading skeletons
│   ├── overlays/       # Dialogs, panels, drawers
│   ├── composition/    # Page headers, toolbar groups, action bars
│   └── content/        # Rich text blocks, hero sections
├── icons/              # All icon sets (fluent, azure-portal, custom)
└── index.ts            # Barrel export
meta/
├── component-index.json    # Machine-readable index (auto-generated)
└── graduation-log.json     # History of all graduation events

Component Requirements

Every graduated component must be fully standalone — copy-pasteable into any Fluent 2 React project.

Allowed Dependencies

  • @fluentui/react-components
  • @fluentui/react-icons
  • @fluentui/tokens
  • react (peer)

Forbidden

  • Project-specific imports
  • Runtime fetch/API calls
  • CSS modules, Tailwind, styled-components
  • Hardcoded hex colors, px font sizes, raw spacing values

Graduation Flow

  1. Pipeline build produces a component that passes UI verification (score ≥ 0.85)
  2. Agent performs deduplication check against component-index.json
  3. Agent suggests graduation: Add New / Create Variant / Extend Existing
  4. Human reviews and approves the PR
  5. Merge triggers deploy to Azure SWA and index rebuild

Token Strategy

Direct Fluent tokens only — tokens.colorBrandForeground1, etc. No alias layer.

Publishing to npm

The package is published manually by a developer — there is no automated publish on merge.

Prerequisites

  • You are logged in to npm (npm whoami to check, npm login to authenticate)
  • All changes are merged to main and CI is green
  • You have reviewed the diff since the last publish (git log v$(node -p "require('./package.json').version")..HEAD --oneline)

Steps

# 1. Pull latest main
git checkout main && git pull

# 2. Bump the version (choose one)
npm version patch   # 0.0.1 → 0.0.2  — bug fixes, docs, snapshot updates
npm version minor   # 0.0.2 → 0.1.0  — new graduated components
npm version major   # 0.1.0 → 1.0.0  — breaking API changes (rare)

# 3. Publish (runs lint + test + build:pkg automatically via prepublishOnly)
npm publish

# 4. Push the version commit and tag
git push && git push --tags

What gets published

Only the files listed in package.json"files" are included in the tarball:

| Path | Contents | |------|----------| | dist/ | Compiled JS + type declarations (tsc --project tsconfig.build.json) | | meta/component-index.json | Machine-readable component index for fast lookups |

Storybook config, stories, tests, snapshots, and scripts are excluded.

Consuming the package

npm install blueprint-storybook-fluent
import { IconCard } from 'blueprint-storybook-fluent';
import { DatabaseIcon } from 'blueprint-storybook-fluent/dist/icons/fluent';

Version strategy

| Change | Bump | Example | |--------|------|---------| | New graduated component | minor | IconCard added | | Prop added to existing component | minor | size prop on IconCard | | Bug fix / style tweak / docs | patch | Fix spacing token | | Prop removed or renamed | major | trenddirection |

Dry run

Preview what will be published without actually pushing to the registry:

npm pack --dry-run   # list files in the tarball
npm publish --dry-run # simulate the full publish

Hosting

Azure Static Web Apps — always reflects main HEAD. No version pinning.