Skip to content

abe430/designnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESIGNNN

Trend-driven design prompt engine for Figma AI

Generate high-quality UI/UX design prompts powered by real-time design trend analysis.

MIT License npm version


The Problem

AI design tools like Figma AI can generate stunning UI designs — but only if you give them the right prompt. Most designers struggle with:

  • "What should I prompt?" — Knowing current design trends is hard to keep up with
  • "How do I describe this style?" — Translating visual ideas into precise text prompts
  • "How do I combine trends?" — Mixing multiple design styles into something fresh

The Solution

DESIGNNN is a CLI tool and MCP server that acts as a design intelligence layer for Figma AI. It knows the latest UI/UX design trends and generates optimized prompts that Figma AI can directly use.

$ designnn chat "SaaS pricing page with dark theme"

  ─── Prompt for: "SaaS pricing page with dark theme" ───

  Design a SaaS pricing page with a modern dark theme...
  Use a full-width frame sized 1440px wide...
  Each grid cell is a pricing card with subtle rounded corners (12px)...

  📋 Copy the prompt above and paste it into Figma AI (Ctrl+I)

Quick Start

Installation

# Install globally via npm
npm install -g designnn

# Or run directly with npx
npx designnn chat "landing page for a fitness app"

Set your OpenAI API key

export OPENAI_API_KEY=your-api-key-here

Usage

1. Chat to Prompt

Generate a Figma AI prompt from any design description:

designnn chat "SaaS dashboard with analytics charts and dark theme"
designnn chat "Mobile onboarding flow for a meditation app"
designnn chat "E-commerce product page with glassmorphism style"

2. Explore Trends

Browse the built-in design trend database (50+ trends):

# Show all trends
designnn explore

# Show top 10 trends
designnn explore --top 10

# Filter by category
designnn explore --category style
designnn explore --category component
designnn explore --category pattern
designnn explore --category layout
designnn explore --category interaction

# Search by keyword
designnn explore --component "bento"

# Generate a prompt from a specific trend
designnn explore --generate bento-ui

3. Mix Trends

Combine two design trends into something new:

designnn mix "bento-ui" "glassmorphism"
designnn mix "neubrutalism" "dark-mode-first" --context "for a music streaming app"
designnn mix "kinetic-typography" "organic-shapes" --context "landing page for a creative agency"

4. Update Trends (AI Research)

Research and add new design trends to the database using AI:

# Research 5 new trends (default)
designnn update

# Research a specific number of trends
designnn update --count 10

# Focus on a specific category
designnn update --category interaction

# Clear all custom (AI-generated) trends
designnn update --reset

5. Database Stats

View trend database statistics:

designnn stats
  Overview
  ─────────────────────────────────
  Total Trends:    53
  Built-in:        50
  AI-Generated:    3
  User-Added:      0

  By Category
  ─────────────────────────────────
  ◆ style          ████████░░░░░░░ 16
  ◇ component      ██████░░░░░░░░░ 11
  ▣ pattern        █████░░░░░░░░░░ 10
  ▤ layout         ████░░░░░░░░░░░ 8
  ▥ interaction    ████░░░░░░░░░░░ 8

6. Web UI

Launch the DESIGNNN Web UI in your browser:

designnn serve

# Custom port
designnn serve --port 8080

The Web UI provides a visual interface for all DESIGNNN features — Chat, Explore, and Mix — with a sleek dark theme and one-click prompt copying.

7. MCP Server (AI Agent Integration)

Start DESIGNNN as an MCP server for integration with AI agents like Claude Code, Codex, or OpenCode:

designnn agent

MCP Configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "designnn": {
      "command": "npx",
      "args": ["-y", "designnn", "agent"]
    }
  }
}

Available MCP Tools:

Tool Description
generate_prompt Generate a Figma AI prompt from natural language
explore_trends Search and browse design trends
generate_trend_prompt Generate a prompt based on a specific trend
mix_trends Mix two trends into a creative prompt

Design Trends Database

DESIGNNN includes a curated database of 50+ current UI/UX design trends across 5 categories, with AI-powered live expansion:

Category Count Examples
Style 15 Bento UI, Glassmorphism, Neubrutalism, Dark Mode First, AI-Native Aesthetic, Japandi, Aurora Gradients
Component 10 AI Chat Interface, Command Palette, Skeleton Loading, Data Table, Toast Notifications
Pattern 10 SaaS Landing Page, Analytics Dashboard, Kanban Board, E-commerce PDP, Notification Center
Layout 8 Responsive Card Grid, Split Hero, Masonry Layout, Z-Pattern, Sticky Header
Interaction 7 Micro-interactions, Scroll Animations, Gesture Navigation, Dark/Light Toggle

Use designnn update to research and add new trends via AI — the database grows with every update.

How It Works

┌─────────────┐     ┌──────────────┐     ┌──────────────┐     ┌───────────┐
│  User Input  │ ──▶ │  Trend DB    │ ──▶ │  LLM Engine  │ ──▶ │  Figma AI │
│  (CLI/MCP)   │     │  (50+ trends)│     │  (GPT-4.1)   │     │  Prompt   │
└─────────────┘     └──────────────┘     └──────────────┘     └───────────┘
                          ▲
                          │
                    ┌─────┴──────┐
                    │  AI Update  │  ← designnn update
                    │  (Research) │
                    └────────────┘
  1. Input: Describe what you want to design (CLI, Web UI, or MCP)
  2. Trend Analysis: DESIGNNN matches your request with current design trends
  3. Prompt Generation: GPT-4.1 generates a detailed, Figma AI-optimized prompt
  4. Output: Copy the prompt and paste it into Figma AI (Ctrl+I / Cmd+I)
  5. Update: Run designnn update to research and add new trends via AI

Configuration

# Set API key via environment variable
export OPENAI_API_KEY=your-key

# Or use a custom OpenAI-compatible endpoint
export OPENAI_BASE_URL=https://your-endpoint.com/v1

Tech Stack

Contributing

Contributions are welcome! Here are some ways you can help:

  • Add new trends: Submit PRs to expand the trend database
  • Improve prompts: Help refine the prompt generation quality
  • Build integrations: Create plugins for other design tools
  • Report bugs: Open issues for any problems you find

Roadmap

  • CLI core (chat, explore, mix)
  • MCP server integration
  • Web UI (designnn serve)
  • 50+ built-in design trends
  • AI-powered trend research (designnn update)
  • Database statistics (designnn stats)
  • Figma plugin for direct integration
  • Multi-language prompt support
  • Community trend submissions
  • Scheduled auto-update via cron

License

MIT - Made with energy by concepter

About

Trend-driven design prompt engine for Figma AI. Generate high-quality UI/UX prompts powered by real-time design trend analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors