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

@epsilon-asi/ui

v0.0.1-rc3

Published

A modern React 19 + MUI 7 component library starter with TypeScript, Storybook, tests, and publish-ready packaging.

Downloads

49

Readme

@your-scope/mui7-react19-ui

A publish-ready component library starter for React 19 and Material UI 7 with:

  • TypeScript-first component APIs
  • Storybook for docs and isolated development
  • Dual ESM + CJS package output
  • Declaration files for downstream consumers
  • Peer dependency boundaries for React, MUI, and Emotion
  • Vitest + Testing Library
  • GitHub Actions CI and npm trusted-publishing workflow

What is in here

  • UiProvider and createUiTheme() for app-level theming
  • ActionButton for common CTA/loading interactions
  • StatCard for dashboard metrics
  • EmptyState for empty/error/no-data experiences
  • PageSection for consistent page-level layout blocks

Quick start

npm install
npm run storybook

Build the package:

npm run build

Type-check:

npm run typecheck

Run tests once:

npm run test:run

Create a local publish tarball preview:

npm run pack:check

Consumer installation

In a downstream UI app, install the library and its peers if they are not already present:

npm install @your-scope/mui7-react19-ui react react-dom @mui/material @emotion/react @emotion/styled

Usage

import {
  ActionButton,
  EmptyState,
  PageSection,
  StatCard,
  UiProvider,
  createUiTheme
} from '@your-scope/mui7-react19-ui';

const theme = createUiTheme({
  palette: {
    primary: {
      main: '#0f766e'
    }
  }
});

export function App() {
  return (
    <UiProvider theme={theme}>
      <PageSection
        title="Overview"
        subtitle="A starter library you can use downstream."
        action={<ActionButton size="small">Create report</ActionButton>}
      >
        <div style={{ display: 'grid', gap: 16 }}>
          <StatCard
            title="Monthly revenue"
            value="$128,400"
            trendLabel="+12.4%"
            description="Compared to the previous 30 days"
          />

          <EmptyState
            title="No invoices yet"
            description="Create your first invoice to see recent activity here."
            action={<ActionButton>New invoice</ActionButton>}
          />
        </div>
      </PageSection>
    </UiProvider>
  );
}

Package structure

src/
  components/
    ActionButton/
    EmptyState/
    PageSection/
    StatCard/
  theme/
  test/
  index.ts
.storybook/
.github/workflows/

Publishing

First publish from your machine

  1. Change the package name in package.json from @your-scope/mui7-react19-ui to your real npm scope/package.
  2. Run:
    npm login
    npm publish --access public

Recommended CI publish flow

This starter includes .github/workflows/release.yml for npm trusted publishing from GitHub Actions.

Before using it:

  1. Rename the package in package.json.
  2. Push the repository to GitHub.
  3. In npm package settings, configure this repository/workflow as a Trusted Publisher.
  4. Create and push a semver tag:
    git tag v0.1.0
    git push origin v0.1.0

The workflow will install dependencies, run type-checking and tests, build the package, and publish to npm with provenance enabled.

Storybook

Start Storybook locally:

npm run storybook

Create a static build:

npm run build-storybook

You can deploy storybook-static/ to any static host.

Notes for downstream apps

  • The library treats react, react-dom, @mui/material, @emotion/react, and @emotion/styled as peer dependencies so your consuming apps own those versions.
  • The package exports both ESM and CJS entry points and ships .d.ts files.
  • If a downstream app uses Next.js SSR/App Router, keep following MUI’s official integration guidance in that app for cache/SSR setup.

Rename checklist

Before publishing for real, update:

  • name in package.json
  • README package name and install command
  • repository metadata if you want to add it
  • npm trusted publisher settings