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

pejay-ui

v1.10.1

Published

A powerful React UI component CLI tool to initialize, add, and scaffold premium Tailwind CSS components, layouts, overlays, and client templates.

Readme

pejay-ui

A lightweight CLI tool to initialize, add, and remove React UI components, layouts, overlays, and client scaffolding templates in your projects.

Core Commands

1. Initialize Configuration

npx pejay-ui init

2. Add Component / Layout / Scaffold / Utility

npx pejay-ui add <component-name-or-category> [options]

Options:

  • --all: Install all components in the specified category.
  • --select: Interactively select which components to install from the specified category.

Examples:

  • Install a single component directly:
    npx pejay-ui add form/input
    npx pejay-ui add utilities/clipboard
  • Install a specific layout variant:
    npx pejay-ui add layouts/vr-1
  • Install all components in a category (e.g., form, layouts, overlays, or utilities):
    npx pejay-ui add form --all
    npx pejay-ui add layouts --all
    npx pejay-ui add overlays --all
    npx pejay-ui add utilities --all
  • Select specific components to install from a category (e.g., form or layouts):
    npx pejay-ui add form --select
    npx pejay-ui add layouts
    (Note: Running npx pejay-ui add <category> without options defaults to an interactive selection prompt).

Automatic Exports (Auto-Indexing): Installing components automatically generates or updates index.ts (or index.js) files at:

  1. The category level (e.g., src/pejay-ui/components/form/index.ts)
  2. The global components level (src/pejay-ui/components/index.ts)

This allows you to easily import multiple components clean and cleanly:

import { Input, Checkbox, AmountInput } from "@/pejay-ui/components";

Component-Specific Documentation (READMEs): Certain components (like toast, popover, spinner, skeleton, horizontal-tabs, layout variants, and utilities) ship with localized README.md guides. When installed, the CLI copies their detailed usage documentation directly into the component's folder so you have reference docs right next to the source code.

Overwrite Protection: To prevent accidentally overwriting any custom modifications you have made to your components, the CLI checks if the component is already tracked in pejay-ui.json or if its files already exist in your workspace. It will ask for confirmation before overwriting:

? Component '<name>' is already present in your project. Overwriting it will discard any local changes you have made. Do you want to proceed and overwrite it? (y/N)
  • Choosing No safely skips the installation, preserving your local changes.
  • Choosing Yes overwrites the files with a fresh copy of the template.

3. Remove Component

npx pejay-ui remove <component-name>

4. Check Components Status

npx pejay-ui status

Lists all available components categorized, showing their local installation status:

  • Installed components are marked with a green [✔].
  • Uninstalled components are marked with [ ].

Available Components, Layouts & Scaffolds

Buttons

npx pejay-ui add button

Form Inputs

npx pejay-ui add form/input
npx pejay-ui add form/amount-input
npx pejay-ui add form/checkbox
npx pejay-ui add form/checkbox-group
npx pejay-ui add form/email-input
npx pejay-ui add form/file-input
npx pejay-ui add form/number-input
npx pejay-ui add form/password-input
npx pejay-ui add form/phone-input
npx pejay-ui add form/radio
npx pejay-ui add form/radio-group
npx pejay-ui add form/range-slider
npx pejay-ui add form/switch
npx pejay-ui add form/textarea
npx pejay-ui add form/url-input

(Supports category-wide commands: npx pejay-ui add form --all or npx pejay-ui add form --select)

Date & Time Pickers

npx pejay-ui add form/date-picker
npx pejay-ui add form/date-range-picker
npx pejay-ui add form/time-picker
npx pejay-ui add form/time-range-picker

(Supports category-wide commands: npx pejay-ui add form --all or npx pejay-ui add form --select)

Dropdowns & Selects

npx pejay-ui add dropdown/select-input
npx pejay-ui add dropdown/multiselect-input

(Supports category-wide commands: npx pejay-ui add dropdown --all or npx pejay-ui add dropdown --select)

Horizontal Tabs

npx pejay-ui add horizontal-tab-menu

(Supports category-wide commands: npx pejay-ui add horizontal-tabs --all or npx pejay-ui add horizontal-tabs --select)

Layouts

npx pejay-ui add layouts/vr-1  # Collapsible & Resizable Sidebar
npx pejay-ui add layouts/vr-2  # Dual Sidebar (Left + Right)
npx pejay-ui add layouts/vr-3  # Left Sidebar with Mobile Drawer / Fullscreen Overlay
npx pejay-ui add layouts/vr-4  # Top Nav with Mobile Left Slide Drawer
npx pejay-ui add layouts/vr-5  # Bottom Nav with Bottom Slide Drawer

(Supports category-wide commands: npx pejay-ui add layouts --all or npx pejay-ui add layouts --select)

Overlays

npx pejay-ui add overlays/portal
npx pejay-ui add overlays/tooltip
npx pejay-ui add overlays/popover
npx pejay-ui add overlays/scrollbar

(Supports category-wide commands: npx pejay-ui add overlays --all or npx pejay-ui add overlays --select)

Panels & Modals

npx pejay-ui add panels

Hotkeys & Keyboard Shortcuts

npx pejay-ui add hotkeys

Toast

npx pejay-ui add toast

(Includes a localized README.md guide copied directly into your components folder).

Spinners

npx pejay-ui add spinner

(Includes a localized README.md showing all 9 spinner styles).

Skeletons

npx pejay-ui add skeleton

(Includes a localized README.md showing all skeleton presets).

Utilities

npx pejay-ui add utilities/clipboard
npx pejay-ui add utilities/sanitize
npx pejay-ui add utilities/formater-datetime
npx pejay-ui add utilities/formater-phonenumber

(Supports category-wide commands: npx pejay-ui add utilities --all or npx pejay-ui add utilities --select)

Scaffolds & Client Templates

npx pejay-ui add tanstack-query-client
npx pejay-ui add tanstack-query-electron-client
npx pejay-ui add react-router-client
npx pejay-ui add react-router-electron-client
npx pejay-ui add tanstack-router-client
npx pejay-ui add axios-client
npx pejay-ui add redux-store-client
npx pejay-ui add rtk-query-client
npx pejay-ui add rtk-query-electron-client
npx pejay-ui add zustand-client

(Supports category-wide commands: npx pejay-ui add scaffold --all or npx pejay-ui add scaffold --select)