quick-ui-groq-cli
v1.0.3
Published
Instantly scaffold React + Tailwind CSS components via natural language using Groq AI.
Maintainers
Readme
quick-ui-groq-cli 🚀
Instantly generate production-ready React + Tailwind CSS components using natural language directly from your terminal, powered by Groq AI.
What is quick-ui?
quick-ui-groq-cli is a developer tool that turns plain text prompts into clean, fully-styled React components. It automatically detects your project setup (TypeScript, Next.js, Vite, Tailwind CSS) and generates production-ready code directly into your workspace.
How Users Get Started
Step 1: Get a Free Groq API Key
To use AI generation, you need a free API key:
- Go to console.groq.com.
- Sign in and create a new API key.
Step 2: Save Your API Key Locally
Run this command once in your terminal to save your key securely on your machine:
npx quick-ui-groq-cli configStep 3: Generate UI Components Run the CLI from any React project folder with a description of the UI you want:
npx quick-ui-groq-cli "responsive pricing card with dark mode toggle"The CLI will inspect your project, generate the code using Groq AI, format it with Prettier, and save the new component file directly in your project!
Examples & Commands
- Basic Generation
npx quick-ui-groq-cli "modern hero section with call to action buttons"- Custom Component Name Specify exact file names using the --name flag:
npx quick-ui-groq-cli "login card with email and password" --name LoginForm- Custom Output Folder Save components into a specific directory using the --output flag:
npx quick-ui-groq-cli "navigation bar" --output src/components/ui- Overwrite Existing Files Use the --force flag to overwrite an existing component file without being prompted:
npx quick-ui-groq-cli "simple button" --name Button --forceCommand Options
Key Features
🧠 Auto-Stack Detection: Automatically detects .tsx vs .jsx, Next.js (App or Pages Router), Vite, and Tailwind CSS (v3 vs v4). ⚡ Lightning Fast: Generates components in sub-seconds using Groq's LLaMA 3.3 infrastructure. 🎨 Clean & Accessible: Generates self-contained components with dark mode support, WCAG AA color contrast, and inline SVGs. 🧹 Prettier Formatted: Automatically formats generated files before writing them to your disk.
License MIT
#readme #npm #typescript #reactjs #groqai #cli #buildinpublic #hashtags #comment for more
npx quick-ui-groq-cli config
