A favicon of Shadxn

Shadxn

An experimental CLI tool, evolving from shadcn-ui, for enhanced component management using custom and public registries for flexible project integration.

A screenshot of ShadxnVisit

Shadxn: Advanced CLI for Flexible Component Management

Shadxn is an experimental Command Line Interface, building upon the foundational shadcn-ui CLI, designed to revolutionize your component workflow. It empowers developers by allowing the integration of components and dependencies with enhanced flexibility through custom registry support. This enables personalized or public sharing of component libraries, fitting seamlessly into diverse development ecosystems and streamlining the process of adding and managing UI elements in your projects.

Features:

  • Custom Registry Support: Enables the creation, management, building, and activation of bespoke component registries for private or public component sharing.
  • Flexible Component Addition: The enhanced add command supports fetching components from chosen registries (e.g., shadcn, custom), directly via schema URLs, or from v0.dev links.
  • Streamlined Project Setup: The init command prepares your project by installing necessary dependencies and configuring default registries in components.js.
  • Component Version Tracking: Utilize the diff command to compare local components against their registry versions to check for updates.
  • Broad Ecosystem Compatibility: Designed for adaptability, shadxn aims to be extendable across various frameworks and libraries.
  • Versatile Installation Options: Install globally using npm, Yarn, pnpm, or Bun, or execute directly via npx without needing a global installation.
  • Comprehensive Command Suite: Offers init, add, diff, and registry commands, each with detailed help and options for robust project interaction.
  • Registry Management Capabilities: Includes specific registry subcommands like init for setup, build for deployment, and activate for switching registries.

Summary:

Shadxn provides a powerful CLI tool that extends the capabilities of shadcn-ui, focusing on giving developers greater control and flexibility over component integration. It facilitates the use of custom component registries, offers an enhanced add command for versatile component sourcing, and includes utilities for project initialization and component updates. This tool aims to be an unopinionated, adaptable solution for managing UI components across various development environments, fostering a more personalized workflow.

Distribution:
opensource
GitHub:
84 Stars
5 Forks
Share:

 

  
 

Similar to Shadxn:

 

  
  

 

  
  

 

  
  
Shadxn: Shadxn: Extend your component workflow with customizable registries via CLI. – Awesome-Shadcn/ui