Upload UI design screenshots → Extract design tokens → Generate AI prompts for code generation.
- 🎨 Design Token Extraction - Colors, typography, spacing, animations, shadows, border radius
- 📝 AI Prompt Generation - Detailed prompts for recreating designs with React + Tailwind
- 📋 Copy to Clipboard - One-click copy of generated prompts
- ⬇️ JSON Export - Download tokens and prompts as JSON
- 🖼️ Drag & Drop Upload - Easy image upload with preview
- 📱 Responsive Design - Works on desktop and mobile
- Next.js 16
- React 19
- TypeScript
- Tailwind CSS
- Perplexity Sonar API (Vision)
git clone https://github.com/ravixalgorithm/axon.git
cd axonnpm installCopy the example environment file and add your Perplexity API key:
cp .env.example .env.localEdit .env.local and add your API key:
PERPLEXITY_API_KEY=pplx-xxxxxxxxxxxxxxxxxxxxx
Get your API key from: https://www.perplexity.ai/settings/api
npm run devOpen http://localhost:3000 in your browser.
- Upload - Drag and drop or click to upload a UI screenshot (PNG, JPG, WEBP, GIF up to 50MB)
- Analyze - Click "Analyze Design" to extract tokens
- View Results - See extracted colors, typography, spacing, and more
- Copy/Download - Copy the prompt or download everything as JSON
- Push your code to GitHub
- Go to vercel.com/new
- Import your repository
- Add environment variable:
PERPLEXITY_API_KEY - Deploy
MIT