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

@surreal-ui/cli

v0.7.0

Published

Surreal UI CLI - Add multi-platform UI components directly to your codebase

Readme

@surreal-ui/cli 💻🎨

The official Command Line Interface for Surreal UI — an AI-powered cross-platform UI component library.

Directly inspect and install multi-aesthetic components into your project across Svelte 5, React TSX, and WebComponents.


🚀 Quick Start

Run instantly with npx, pnpm dlx, or bunx without prior installation:

# List all available components and styles in the catalog
npx @surreal-ui/cli list

# Add a component with a specific aesthetic into your project
npx @surreal-ui/cli add button --aesthetic glassmorphism

# Specify target framework (defaults to svelte, options: svelte, react, web)
npx @surreal-ui/cli add card --aesthetic neubrutalism --framework react

🌐 Public Registry Endpoints

The Surreal UI component registry is publicly accessible at https://ui.pixerate.com/r and is 100% compliant with the official Shadcn Registry Schema.

| Endpoint | Description | | ------------------------------------------------------------- | -------------------------------------------------------------------------------- | | https://ui.pixerate.com/r/index.json | Catalog index listing all 60+ components, styles, and dependencies | | https://ui.pixerate.com/r/:component.json | Component definition with default aesthetic | | https://ui.pixerate.com/r/:aesthetic/:component.json | Component definition for a specific aesthetic (e.g. glassmorphism/button.json) | | https://ui.pixerate.com/r/styles/:aesthetic/:component.json | Style-scoped alias endpoint |


🛠️ Usage with Official Shadcn CLI

Because the Surreal UI registry strictly adheres to the Shadcn JSON schema, you can also install Surreal UI components directly using the standard shadcn CLI:

# Add a component using shadcn CLI
npx shadcn@latest add https://ui.pixerate.com/r/button.json

# Add an aesthetic variant using shadcn CLI
npx shadcn@latest add https://ui.pixerate.com/r/glassmorphism/button.json

📖 CLI Commands

add <component>

Downloads and writes the component file directly into your project's component directory (e.g. src/lib/components/ui/ or src/components/ui/).

npx @surreal-ui/cli add <component> [options]

Options:

  • -a, --aesthetic <style>: Aesthetic variant (glassmorphism, neubrutalism, minimalist, modern, shadcn, etc.).
  • -f, --framework <framework>: Framework target (svelte, react, web). Default: svelte.
  • -p, --path <path>: Custom destination directory for component files.
  • -o, --overwrite: Overwrite existing files if they already exist.
  • -r, --registry <url>: Custom registry endpoint URL (default: https://ui.pixerate.com/r).

list

Lists all available UI component types, descriptions, and available aesthetics.

npx @surreal-ui/cli list [options]

Options:

  • -r, --registry <url>: Custom registry endpoint URL (default: https://ui.pixerate.com/r).

init

Initializes Surreal UI configuration and sets up the component destination folder and package manager in your project.

npx @surreal-ui/cli init

diff <component>

Compares your local component implementation against the upstream registry version.

npx @surreal-ui/cli diff <component> [options]

⚙️ Environment Variables

  • SURREAL_REGISTRY_URL: Override the default registry URL (default: https://ui.pixerate.com/r).