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

mcc-brick-ui

v1.49.0

Published

MCC's Design System for building consistent and reusable interfaces with React + Tailwind CSS.

Readme

Brick UI

MCC's Design System for building consistent and reusable interfaces with React + Tailwind CSS.

Structure

Components follow an architecture based on Atomic Design. Typical structure:

src/
  ├── index.ts             # Main entry point of the library
  └── components/
        ├── atoms/
        └── molecules/
              └── component-name/
                  ├── index.tsx
                  └── component-name.stories.tsx

Note: Always use kebab-case naming convention for folders and files.


Installing the project locally

npm install

Running Storybook

npm run storybook

Creating new components

  1. Create the component inside the src/components folder
  2. Create the corresponding .stories.tsx file
  3. Export it in src/index.ts

Using Brick UI in another React project

Installation

In your React project, install the package:

npm install mcc-brick-ui

Tailwind integration

  1. Import the plugin and safelist from the package inside your Tailwind configuration file.

    // tailwind.config.ts
    import { brickPlugin, safelist } from 'mcc-brick-ui';
    
    export default {
      content: ['./src/**/*.{js,ts,jsx,tsx}'],
      safelist,
      plugins: [brickPlugin],
    };
  2. Build your CSS using Tailwind so the plugin theme is applied. A typical command looks like:

    npx tailwindcss -i ./src/index.css -o ./dist/index.css \
      --config ./tailwind.config.ts --minify
  3. If you prefer, you can import the precompiled styles directly in your global stylesheet:

    @import 'mcc-brick-ui/dist/styles.css';

Tests

Not configured yet.

Publishing a new version to NPM

1. Have an NPM account

If you don't have one yet, create it at: https://www.npmjs.com/signup

2. Be added by an owner of this package

Ask one of the current owners to run:

npm owner add your-npm-username package-name

Steps to publish

Login to NPM

npm login

Check which user is logged in

Useful if you have multiple NPM accounts.

npm whoami

Build the package

npm run build

Update the version

Choose the appropriate semantic version increment:

  • patch → bug fixes
  • minor → new features without breaking changes
  • major → breaking changes (less common)
npm version patch
# or
npm version minor
# or
npm version major

Publish to NPM

1. Generate an Access Token

If you already have a token, you can skip this step.

  1. Go to https://www.npmjs.com/
  2. Log in to your account
  3. Click on your profile picture → Account
  4. Go to Access Tokens
  5. Click Generate New Token

Token types

  • Publish → Recommended for local development
  • Automation → Recommended for CI/CD pipelines
  • Read-only → Cannot publish packages

For local usage, use Publish.

  1. Confirm the action using 2FA
  2. Copy the generated token (it will not be shown again)

2. Configure the Token Locally

npm config set //registry.npmjs.org/:_authToken=YOUR_TOKEN_HERE

3. Publish

Once the token is configured, publish the package normally:

npm publish

Check publication

npm info package-name