pphat.me logoRegistry
Docs/Introduction

Introduction

Welcome to the official documentation for @pphatdev/registry.

A powerful and extremely fast CLI tool to instantly download and manage custom UI components and icons for your frontend projects.

Instead of bundling thousands of heavy icons in an npm package, this CLI dynamically fetches precisely the components and icons you need on-demand. It supports outputting raw SVGs, or converting them into ready-to-use, perfectly formatted Next.js (React) or Nuxt.js (Vue) components!


Why @pphatdev/registry?

Zero Bundle Bloat

Only download the components and icons you actually use in your project. No more massive dependencies.

Lightning Fast

Powered by a robust static registry hosted directly on GitHub's raw CDN. Enjoy instantaneous downloads with no rate limits.

Framework Native

SVGs are automatically wrapped and formatted into native .tsx (Next.js) or .vue (Nuxt) components on the fly.

Perfect Code Formatting

Built-in XML formatter aligns tags precisely, preserving nested CSS keyframes and attributes to guarantee lint-free output.

Configurable & Persistent

Automatically remembers your preferred directory and format via a tiny configuration file.