AI-powered design mockup and component variation generator. Generate multiple design variations of website pages and UI components using AI image generation.
- Website Page Generation: Create complete page designs (home, about, product, cart, contact, sales, blog)
- Component Variations: Generate design variations of individual UI components
- Design Presets: Apply curated design styles (Material, iOS, glassmorphism, neumorphism, etc.)
- Color Palettes: Use popular color schemes (Dracula, Nord, Tokyo Night, Monokai, etc.)
- Platform Targeting: Design for different platforms (web, mobile, tablet, watch, TV, etc.)
- Reference Images: Use existing designs as visual inspiration
- Interactive & CLI Modes: Choose between guided prompts or direct command execution
bun installGenerate complete website page designs:
# Interactive mode
bun run sketch
# Direct mode - generates 5 variations by default
bun run sketch "shoe marketplace" home
# With design tuning
bun run sketch "gaming company" about --tuning creative
# With color palette
bun run sketch "crypto exchange" product --palette tokyo-night
# Target specific platform
bun run sketch "fitness tracker" home --platform mobile
# Use reference image for inspiration
bun run sketch "hair salon" home --reference ~/inspiration.jpg
# Generate more variations
bun run sketch "pet adoption" cart --count 10
# Preview prompts without executing
bun run sketch "tech startup" sales --dry-runGenerate design variations of UI components:
# Interactive mode
bun run component
# Generate variations from a component image
bun run component ./button.png
# Specify component type
bun run component ./widget.png --type button
# Apply design style
bun run component ./card.png --style material
# Apply color palette
bun run component ./form.png --palette dracula
# Combine style and palette
bun run component ./modal.png --style glassmorphism --palette nord
# Generate 10 variations
bun run component ./nav.png --count 10
# Preview without executing
bun run component ./button.png --style ios --dry-runhome- Main landing page with hero and featured contentabout- Company story, team, and missionproduct- Individual product detail pagecart- Shopping cart with items and checkoutcontact- Contact form and informationsales- Marketing/sales landing page with conversion focusblog- Blog listing or article feed
button,card,form,nav,modal,table,listheader,footer,badge,icon,dropdown,toggletoast,avatar
creative- Experimental layouts, bold colorsprofessional- Clean, trustworthy, business-focusedminimal- Maximum whitespace, simple typographyvibrant- Bold colors, dynamic layoutselegant- Refined typography, luxury feelmodern- Latest design trendsplayful- Friendly, approachabledark- Dark mode focusedbrutalist- Raw, unconventional- And more... (use
--list-tuningto see all)
material- Google Material Designios- Apple iOS/HIG styleglassmorphism- Frosted glass effectsneumorphism- Soft UI with shadowsminimal- Ultra-clean simplicitybold- High contrast, vibrant- And more... (use
--list-stylesto see all)
- VS Code themes:
dracula,monokai,one-dark,nord,tokyo-night,synthwave - GitHub themes:
github-dark,github-light - Retro themes:
gruvbox-dark,gruvbox-light - And more... (use
--list-palettesto see all)
website- Desktop website designmobile- Native mobile app interfacetablet- Tablet applicationwatch- Smartwatch/wearabletv- Smart TV/streaming interface- And more... (use
--list-platformsto see all)
bun run sketch [website-type] [page-type] [options]
Options:
--dry-run Show prompts without executing
--count, -c <number> Number of variations (default: 5)
--tuning, -t <value> Design tuning preset
--palette <value> Color palette
--reference, -r <path> Reference image path
--platform, -p <value> Target platform
--list-tuning List all tuning presets
--list-palettes List all color palettes
--list-platforms List all platforms
--help, -h Show helpbun run component [image-path] [options]
Options:
--dry-run Show prompts without executing
--count, -c <number> Number of variations (default: 5)
--type, -t <value> Component type
--description <text> Custom description
--style, -s <value> Variation style preset
--palette <value> Color palette
--list-styles List all style presets
--list-types List all component types
--list-palettes List all color palettes
--help, -h Show help- You provide website type, page type, or component image
- Choose design direction, style presets, and color palettes
- The tool generates detailed AI prompts
- Multiple design variations are created automatically
- Each variation explores different visual approaches while maintaining functionality
# Create a minimalist shoe marketplace homepage with Nord colors
bun run sketch "shoe marketplace" home --tuning minimal --palette nord
# Generate Material Design button variations
bun run component ./button.png --style material --count 5
# Design a mobile fitness app homepage with dark mode
bun run sketch "fitness tracker" home --platform mobile --tuning dark
# Create luxury e-commerce product pages
bun run sketch "jewelry store" product --tuning luxe --palette rose-pine- Bun runtime
- Gemini CLI - Official Google Gemini CLI
- nanobanana - Gemini CLI extension for AI image generation
-
Install the Gemini CLI extension:
gemini extensions install https://github.com/gemini-cli-extensions/nanobanana
-
Set up your API key:
export NANOBANANA_GEMINI_API_KEY="your-api-key-here" # Or use one of these alternatives: # export NANOBANANA_GOOGLE_API_KEY="your-api-key-here" # export GEMINI_API_KEY="your-api-key-here" # export GOOGLE_API_KEY="your-api-key-here"
-
Restart the Gemini CLI to activate the
/generatecommand
For detailed authentication setup, see the Gemini CLI authentication documentation.
MIT