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

@tecfancy/react-components

v0.0.6

Published

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=TecFancy_react-components&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=TecFancy_react-components) [![Bugs](https://sonarcloud.io/api/project_badges/measure

Readme

React Components

Quality Gate Status Bugs Code Smells Duplicated Lines (%) Reliability Rating Security Rating Technical Debt Maintainability Rating Vulnerabilities Lines of Code

English | 简体中文

A modern, customizable React UI component library.

Features

  • 🔧 TypeScript Support - Full type definitions included
  • 🎨 Customizable Themes - Support for multiple theme modes including dark mode
  • 📦 On-Demand Loading - Import components individually to optimize bundle size
  • 🌈 Style Isolation - SCSS modules for style management
  • 🧩 Rich Components - Various commonly used components like Button with multiple sizes and states
  • 📚 Storybook Documentation - Comprehensive component examples and docs

Installation

Ensure the following dependencies are installed in your project:

  • react: >= 16.8.0
  • react-dom: >= 16.8.0
  • classnames: >= 2.5.1
# Using npm
npm install react-components

# Using yarn
yarn add react-components

Quick Start

import React from 'react';
import { Button } from 'react-components';
import 'react-components/dist/es/styles/index.css'; // Import styles

const App = () => (
  <Button size="large" theme="primary">
    Click Me
  </Button>
);

export default App;

Custom Themes

The component library supports theme customization. You can use the provided variables file:

// Import variables
@use 'react-components/dist/es/styles/_variables.scss' as *;

// Customize variables
$primary-color: #1890ff;

Development Guide

This quick guide will help you set up the project in your local development environment.

System Requirements

  • Node.js: >= 20.10.0

After installing Node.js, you'll need to install the yarn package manager:

npm install -g yarn

Install Dependencies

yarn install

Script Commands

The project includes several commonly used scripts that can be executed from the project root.

Start Project

yarn start

This command launches the development server. Access the project at http://localhost:6006 in your browser.

Build Project

To build the final component library, run:

yarn build

To build the documentation site for the component library, run:

yarn build:storybook

Unit Testing

yarn test

This command runs unit tests once. You can also start test watch mode:

yarn test:watch

Check Dependency Updates

yarn ncu

This command checks for new versions of third-party dependencies. Update dependencies with:

yarn ncu -u

This updates dependencies in package.json to their latest versions. Before updating, ensure major version updates won't break the project.

After updating dependencies, run yarn install to install the latest versions.

Tech Stack

  • React
  • TypeScript
  • SCSS
  • Rollup
  • Storybook
  • Jest

Happy coding ;-)