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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@mindfiredigital/ignix-cli

v1.0.8

Published

CLI tool for the Ignix UI component library

Downloads

405

Readme

Ignix CLI

NPM Version License PRs Welcome

The Ignix CLI is a powerful command-line tool that helps you quickly scaffold, manage, and interact with Ignix components and themes in your projects. It provides both interactive and command-based interfaces for seamless development.

Installation

Install the CLI globally using npm or yarn:

npm install -g ignix-cli

Or use it directly with npx:

npx ignix-cli

Usage Modes

Interactive Mode

Simply run ignix without any arguments to enter interactive mode:

ignix

The interactive mode provides a beautiful, guided interface with the following options:

  • 🚀 Initialize Ignix UI - Set up your project
  • Add components - Add components to your project
  • 📋 List components - View available components
  • 🎨 Manage themes - Configure and manage themes
  • 🚪 Exit - Close the CLI

Command Mode

Run specific commands directly:

ignix <command> [options]

Commands

ignix init

Initialize Ignix UI in your project. This command sets up the necessary configuration and directory structure.

ignix init

What it does:

  • Creates an ignix.config.js configuration file
  • Sets up the components directory structure
  • Creates utility files (e.g., utils/cn.ts for className utilities)
  • Installs required dependencies

Interactive prompts:

  • Project framework selection
  • Components directory path
  • Styling preferences
  • Additional configuration options

ignix add

Add components or themes to your project from the Ignix UI registry.

Add Components

ignix add component <component-names...>

Examples:

# Add a single component
ignix add component button

# Add multiple components
ignix add component button card modal input

# Interactive mode - prompts for component selection
ignix add component

What it does:

  • Fetches component files from the registry
  • Creates a dedicated folder for each component
  • Writes component files to your components directory
  • Handles dependencies automatically

Add Themes

ignix add theme <theme-name>

Example:

ignix add theme dark

ignix list

List all available components or themes from the Ignix UI registry.

List Components

ignix list component

Output:

  • Component name
  • Description
  • Available variants

List Themes

ignix list theme

Output:

  • Theme name
  • Description
  • Color palette information

ignix themes

Manage and configure themes for your project.

ignix themes

Features:

  • View installed themes
  • Switch between themes
  • Customize theme variables
  • Export theme configurations

Configuration

The CLI uses an ignix.config.js file in your project root for configuration.

Example Configuration

/* eslint-env node */
/** @type {import('ignix-cli').IgnixConfig} */
module.exports = {
  // URL to the raw registry.json file on GitHub
  registryUrl:
    'https://raw.githubusercontent.com/mindfiredigital/ignix-ui/main/packages/registry/registry.json',

  // URL to the raw themes.json file on GitHub
  themeUrl:
    'https://raw.githubusercontent.com/mindfiredigital/ignix-ui/main/packages/registry/themes.json',

  // Default directory for UI components
  componentsDir: 'src/components/ui',

  // Your other configuration options...
};

Contributing

We welcome contributions! Please see our contributing guidelines for more information.

License

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