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

react-scanner-studio

v1.2.3

Published

A portable, interactive dashboard for analyzing React component usage, tracking design system adoption, and discovering unused components across your codebase.

Downloads

1,701

Readme

React Scanner Studio

A portable, interactive dashboard for analyzing React component usage across your codebase.

React Scanner Studio helps you track design system adoption, discover unused components, and analyze prop usage patterns by generating a beautiful, shareable local dashboard.

npm version GitHub stars License: MIT


✨ Features

  • 🔍 React Component Scanning — Leverages powerful AST parsing (react-scanner) to accurately analyze React component usage across your entire frontend codebase
  • 📊 Component Analytics Dashboard — A beautiful, interactive UI for exploring component statistics, discovering prop usage patterns, and identifying unused components
  • 📦 Portable Static Build — Generate static HTML reports that can be hosted anywhere (GitHub Pages, Vercel, Netlify) or shared with your team—no server required
  • Zero Config Setup — Get started in seconds with the init command that automatically configures everything for Next.js, Vite, or Create React App projects
  • 🎨 Design System Observability — Perfect for tracking design system component adoption, evaluating UI consistency, and planning migrations
  • 🔧 CI/CD Ready — Built-in CI mode for seamless integration with GitHub Actions and other continuous integration pipelines to generate automated usage metrics

📖 Documentation

Visit our documentation site for detailed usage guides and API reference:

👉 https://reactscanner.studio

🎬 Live Demo

See React Scanner Studio in action:

👉 https://demo.reactscanner.studio

📸 Screenshots

Dashboard Overview

Dashboard Dark

Component Inventory

Component Inventory Dark

Component Overview

Component Overview Dark

Component Prop Insights

Component Prop Insight Dark

Component File Location

Component File Location Dark

Dashboard Overview

Dashboard Light

Component Inventory

Component Inventory Light

Component Overview

Component Overview Light

Component Prop Insights

Component Prop Insight Light

Component File Location

Component File Location Light

🚀 Quick Start

Installation

# Using npx (no installation required)
npx react-scanner-studio init

# Or install globally
npm install -g react-scanner-studio

# Or add as a dev dependency
npm install --save-dev react-scanner-studio

Usage

# 1. Initialize configuration (one-time setup)
npx react-scanner-studio init

# 2. Start the interactive dashboard
npx react-scanner-studio start

# 3. Build static files for sharing (optional)
npx react-scanner-studio build

That's it! The start command will automatically prompt you to scan your codebase if no scan report exists.

📋 CLI Commands

| Command | Description | | ------- | ----------- | | init | Initialize react-scanner configuration in your project | | scan | Scan your codebase for component usage | | start | Start the interactive dashboard development server | | build | Build a portable, static version of the dashboard |

Options

# Start on a custom port
react-scanner-studio start --port 8080

# Auto-open browser
react-scanner-studio start --open

# CI mode (no interactive prompts)
react-scanner-studio start --ci
react-scanner-studio build --ci

🎯 Use Cases

  • Design System Observability & Adoption — Track how your React design system components are being utilized across different teams and repositories.
  • Frontend Codebase Analytics — Understand which React components are most popular, which are underutilized, and identify candidates for deprecation.
  • Prop Pattern Analysis — Discover common prop combinations, hardcoded values, and usage patterns to optimize component APIs.
  • Safe Refactoring & Migration Planning — Identify all locations a component is used before modifying its API, deprecating it, or migrating to a new library (e.g., from MUI to Tailwind).
  • Automated Documentation — Generate shareable component usage reports for stakeholders and design teams.

🔧 Configuration

After running init, a react-scanner.config.js file is created in your project (support for .ts, .mjs, etc., is also available):

module.exports = {
  crawlFrom: './src',
  includeSubComponents: true,
  importedFrom: '@mui/material',
  processors: [
    ['raw-report', { outputTo: './.react-scanner-studio/scan-report.json' }],
  ],
};

Supported Component Libraries

Works with any component library or custom components:

  • Material UI (@mui/material)
  • Chakra UI (@chakra-ui/react)
  • Ant Design (antd)
  • Your custom design system (@myorg/design-system)
  • Local components (./components)

📦 Deployment

Build static files and deploy anywhere:

# Build the dashboard
npx react-scanner-studio build

# Serve locally
npx serve .react-scanner-studio

# Or deploy to GitHub Pages, Netlify, Vercel, etc.

🤝 Community

📄 License

MIT © Vimal Munjani