AI-powered React component generator. Describe what you want in plain English, get production-ready code.
Generate React components from plain English. Describe what you want, get production-ready code.
npm install -g ai-component
npx ai-component "pricing card with monthly/yearly toggle" npx ai-component "navbar with dropdown menu" --typescript --tailwind npx ai-component "image carousel with dots" -o Carousel.tsx -t
-t, --typescript- Generate TSX instead of JSX--tailwind- Use Tailwind CSS classes-o, --output <file>- Write to file
export OPENAI_API_KEY=sk-...MIT