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

@themodcraft/pro-kit

v1.2.2

Published

Advanced UI kit for larger application surfaces.

Readme

@themodcraft/pro-kit

Advanced UI kit for larger application surfaces.

Includes:

  • Navbar system
  • Container and overlay components
  • Slider and soon-state components
  • SmartForm / CForm-compatible composed form components
  • SmartFormBuilder for JSON-driven forms, generated validation, and admin/settings workflows
  • DataTable, Breadcrumbs, OtpField, and CodeField workflow components
  • TabGroup / Tab workflow panels
  • AppIcon, AppCard, and AppCardGrid application surfaces
  • EmptyState and settings workspace surfaces
  • Transport-neutral FileDropzone and UploadQueue components
  • Profile image helpers and app-router-friendly React components

Install:

npm install @themodcraft/pro-kit

This package publishes compiled output only.

Application cards and settings surfaces

AppCard keeps its primary link or button keyboard accessible while leaving action as a separate control. AppIcon uses the supplied image and falls back to initials.

import {
  AppCard,
  AppCardGrid,
  EmptyState,
  SettingsCard,
  SettingsPageHeader,
} from "@themodcraft/pro-kit";

export function ProductList() {
  return (
    <>
      <SettingsPageHeader title="Products" subtitle="Manage catalog products and releases." />
      <SettingsCard title="Catalog">
        <AppCardGrid>
          <AppCard
            description="Creative media workspace"
            href="/store/tmc-oxide"
            iconAlt="TMC Oxide app icon"
            iconSrc="/assets/tmc-oxide.png"
            meta="macOS"
            name="TMC Oxide"
            status="success"
            statusLabel="Published"
          />
        </AppCardGrid>
      </SettingsCard>
    </>
  );
}

EmptyState, SettingsPageHeader, SettingsCard, SettingsRow, and DetailTile accept inline React content and actions. They do not import routing, catalog, account, or API models.

File selection and upload presentation

FileDropzone performs client-side type and size checks. It reports accepted files and structured rejections, but it does not upload or hash them. The named native file input remains available to forms when browser selection is used.

"use client";

import { useState } from "react";
import {
  FileDropzone,
  UploadQueue,
  UploadQueueItem,
  type FileDropzoneRejection,
} from "@themodcraft/pro-kit";

export function ArtifactUpload() {
  const [file, setFile] = useState<File>();
  const [error, setError] = useState<string>();
  const [progress, setProgress] = useState(0);

  function reject(rejections: FileDropzoneRejection[]) {
    setError(rejections.flatMap((item) => item.reasons.map((reason) => reason.message)).join(" "));
  }

  return (
    <>
      <FileDropzone
        accept={[".dmg", ".pkg", "application/zip"]}
        description="Choose a signed release artifact up to 4 GiB."
        error={error}
        label="Release artifact"
        maxSize={4 * 1024 ** 3}
        name="artifact"
        onFilesRejected={reject}
        onFilesSelected={([selected]) => {
          setError(undefined);
          setFile(selected);
        }}
      />

      {file ? (
        <UploadQueue label="Release uploads">
          <UploadQueueItem
            fileName={file.name}
            fileSize={file.size}
            onCancel={() => setFile(undefined)}
            onPause={() => undefined}
            progress={progress}
            status="uploading"
          />
        </UploadQueue>
      ) : null}
    </>
  );
}

Queue items receive status, progress, and action callbacks from the application. Supported states are queued, uploading, paused, verifying, ready, quarantined, failed, retired, and cancelled. Presigned URLs, multipart orchestration, retries, checksums, API calls, authorization, and persisted upload state remain application concerns.