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

shellcn-tui

v1.1.1

Published

CLI tool for the shellcn terminal UI component system

Readme

shellcn

Terminal UI component system for Ink — inspired by shadcn/ui

Build beautiful and interactive command-line interfaces with React. shellcn provides a collection of re-usable, customizable terminal UI components that you can copy and paste into your Ink apps.

This is NOT a component library you install via npm as a dependency. Instead, it is a collection of CLI commands that download the underlying source code of the components directly into your project. You have full ownership and control over the code.

Why shellcn?

  • Ownership: The component source code lives in your project. You can modify it, style it, and adapt it to your needs.
  • Ink-based: Built on top of the awesome Ink library for React-based CLI apps.
  • Developer Experience: Modern terminal features (flexbox layouts, colors, interactive inputs) accessible via simple React primitives.

Quick Start

1. Initialize shellcn in your project

Run the init command to set up shellcn in your Ink project. This will create a components.json configuration file and ask you where you'd like your components to reside.

npx shellcn-tui init

2. Available Components

You can explore the list of components that are ready to be integrated into your project by running:

npx shellcn-tui list

3. Add Components

Add any component to your project using the add command. For example, to add a beautiful stylized card component:

npx shellcn-tui add card

When you run this command:

  1. shellcn downloads card.tsx to your configured components directory.
  2. It lists any dependencies this component may require.

Usage Example

After adding the alert and text components, you can use them exactly like regular React components in your CLI:

import React from "react"
import { render } from "ink"
import { Alert } from "./components/alert"
import { Text } from "./components/text"

const App = () => (
  <Alert variant="success" title="Deployment Successful">
    <Text dim>Your shellcn application has been deployed.</Text>
  </Alert>
)

render(<App />)

Available Components

Here is the current list of components offered by shellcn:

  • alert: Alert box with info, success, warning, and error variants
  • card: Bordered card container with optional title and footer
  • checkbox: Multi-select checkbox list with toggle support
  • container: Layout container with padding, margin, border, and flex
  • input: Text input with placeholder, onChange, and onSubmit
  • progress: Progress bar with percentage display and customizable fill
  • select: Arrow-key select menu with highlight styling
  • separator: Visually or semantically separates content
  • table: Data table with headers, column alignment, and borders
  • text: Styled text with color, bold, dim, underline, and strikethrough support

License

MIT License.