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

@kwameeh_1/custom-ui-cli

v1.0.0

Published

A CLI tool for installing and managing custom UI components

Readme

Custom UI CLI

A powerful CLI tool for installing and managing custom UI components in React projects.

Features

  • 🚀 Easy Installation: Initialize custom-ui in any React project
  • 📦 Component Management: Add, list, and manage UI components
  • 🎨 Multiple Frameworks: Support for Tailwind CSS, CSS Modules, and Styled Components
  • 🔧 Project Detection: Automatically detects Next.js, Vite, CRA, and generic React projects
  • 📚 Documentation: Built-in component documentation
  • TypeScript Support: Full TypeScript support with proper type definitions

Installation

Global Installation

npm install -g @kwameeh_1/custom-ui-cli

Use with npx (Recommended)

npx @kwameeh_1/custom-ui-cli init

Quick Start

  1. Initialize in your project:

    npx @kwameeh_1/custom-ui-cli init
  2. Add components:

    npx @kwameeh_1/custom-ui-cli add button
    npx @kwameeh_1/custom-ui-cli add dialog
  3. List available components:

    npx @kwameeh_1/custom-ui-cli list
  4. View component documentation:

    npx @kwameeh_1/custom-ui-cli docs button

Commands

init

Initialize custom-ui in your project.

npx @kwameeh_1/custom-ui-cli init [options]

Options:

  • -f, --force - Overwrite existing configuration
  • --skip-deps - Skip dependency installation
  • --components-dir <dir> - Custom components directory
  • --utils-dir <dir> - Custom utils directory

add

Add components to your project.

npx @kwameeh_1/custom-ui-cli add [components...]

Examples:

npx @kwameeh_1/custom-ui-cli add button
npx @kwameeh_1/custom-ui-cli add button dialog alert
npx @kwameeh_1/custom-ui-cli add --all

list

List all available components.

npx @kwameeh_1/custom-ui-cli list [options]

Options:

  • --installed - Show only installed components
  • --available - Show only available components

docs

Show documentation for a component.

npx @kwameeh_1/custom-ui-cli docs <component>

Supported Frameworks

  • Next.js (App Router & Pages Router)
  • Vite
  • Create React App
  • Generic React Projects

Supported CSS Frameworks

  • Tailwind CSS (Recommended)
  • CSS Modules
  • Styled Components

Available Components

  • Alert - Flexible alert component with variants
  • Badge - Small status indicators
  • Button - Customizable button component
  • Dialog - Modal dialog with accessibility features
  • Separator - Visual divider component
  • And more...

Configuration

The CLI creates a custom-ui.json configuration file in your project root:

{
  "componentsDir": "components/ui",
  "utilsDir": "lib",
  "cssFramework": "tailwind",
  "typescript": true,
  "projectType": "nextjs"
}

Development

Prerequisites

  • Node.js >= 16.0.0
  • npm or yarn

Setup

git clone https://github.com/Kwameeh/custom-ui-cli.git
cd custom-ui-cli
npm install
npm run build

Testing

npm test
npm run test:watch
npm run test:integration

Building

npm run build

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Acknowledgments