Skip to content
forked from sadmann7/diagramcn

Visualize shadcn registries with diagrams.

License

Notifications You must be signed in to change notification settings

yamz8/diagramcn

 
 

Repository files navigation

A diagram visualization tool for shadcn/ui registry components.

Features

  • Interactive diagram visualization
  • Zoom in/out and center view controls
  • Collapsible nodes for better organization
  • Focus on specific nodes
  • Responsive layout with mobile support
  • Real-time JSON parsing and visualization
  • Beautiful and modern UI with dark mode support

Tech Stack

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

How to Use

  1. Enter a shadcn/ui registry command or URL in the input field
  2. The diagram will automatically generate showing component dependencies
  3. Use the toolbar to:
    • Zoom in/out
    • Center view
    • Focus on specific nodes
  4. Click on nodes to expand/collapse their children
  5. Toggle between light and dark modes
  6. Edit the registry JSON directly in the editor panel

Learn More

To learn more about the technologies used in this project:

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Credits

About

Visualize shadcn registries with diagrams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.8%
  • CSS 3.2%