Documentation
Documentation
A powerful command-line interface tool for managing and integrating UI components from both GitHub and MongoDB sources, built for Next.js projects.
Getting Started
Installation
Install the Multi UI CLI tool to use it in your project.
npm i multi-ui-cliProject Setup
Initialize your project with necessary dependencies and configurations.
npx multi-ui setupThen start the development server:
npm run devAdd Components
Add components to your project using one of these methods:
Add Component Using Name:
npx multi-ui add <ComponentName> [customFilename]Add Component Using ID:
npx multi-ui add <ComponentID> [customFilename]With example files:
npx multi-ui add <ComponentName> --example [customFilename]Installation
Install the Multi UI CLI tool using your preferred package manager:
npm i multi-ui-cliProject Setup
Initialize your project with necessary dependencies and configurations:
npx multi-ui setupThen start the development server:
npm run devAdd Components
List Components
View all available components
npx multi-ui listSearch Components
Find components by name or type
npx multi-ui search <term>Interactive Mode
Use the interactive UI
npx multi-ui interactiveRemove Components
Remove unused components
npx multi-ui remove <ComponentName>Help & Version
Get help and version info
Show help information:
npx multi-ui --helpShow version:
npx multi-ui --versionProject Structure
your-project/
├── app/
│ ├── components/
│ │ ├── multi-ui/
│ │ │ ├── [ComponentName]/
│ │ │ │ ├── index.tsx
│ │ │ │ └── examples/
│ │ │ │ └── Example_1.tsx
│ │ │ └── ...
│ │ └── ...
│ └── ...
├── public/
│ └── multi-ui/
│ └── assets/
├── multi-ui.config.json
└── package.jsonConfiguration
The `multi-ui.config.json` configuration file:
{
"language": "typescript",
"componentPath": "app/components/multi-ui",
"examplesPath": "examples",
"framework": "next",
"styling": "tailwind",
"typescript": {
"strict": true
}
}TypeScript Support
- • Full type safety
- • IntelliSense support
- • Automatic JS conversion
- • Type definitions included
Next.js Integration
- • Next.js 14+ compatible
- • App Router support
- • Server Components
- • Automatic optimization
Styling
- • Tailwind CSS support
- • Custom theming
- • Responsive design
- • Dark mode ready