
Registry Builder
A Node.js script for generating shadcn-compatible registry files, enabling custom component and theme sharing.

Custom Shadcn Component Registry Builder
This Node.js script offers developers a robust solution for creating and managing their own custom component registries compatible with shadcn UI. It processes detailed component definitions—including dependencies, file paths, and documentation links—to automatically generate the necessary JSON files. This system enables seamless integration of bespoke components into shadcn projects and simplifies sharing these UI elements and themes within teams or the broader developer community.
Features:
- Component Metadata Definition: Specify name, dependencies (npm & registry), file path, type, and docs URL for each custom component.
- Automated JSON Registry Output: Generates
index.json
and individual component JSON files for a fully functional shadcn registry. - Enhanced Theme Customization: Empowers creation and distribution of unique components, extending shadcn UI's theming potential.
- Streamlined Component Distribution: Simplifies sharing custom-built shadcn components via a personal or public registry.
- ES Module Node.js Script: Core builder utilizes ES modules for modern Node.js project compatibility.
- Build Process Integration: Designed for easy inclusion in project build workflows using npm/pnpm scripts and tools like tsup.
Summary:
This script is a key utility for developers aiming to expand the shadcn UI framework with their own components. It automates the creation of JSON registry files from user-defined configurations, facilitating the construction, management, and dissemination of custom UI elements and themes. It's an ideal tool for projects requiring a tailored shadcn component library or for contributing to the ecosystem.

Similar to Registry Builder:


