npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

designnn

v0.4.0

Published

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

Readme

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

  • [x] CLI core (chat, explore, mix)
  • [x] MCP server integration
  • [x] Web UI (designnn serve)
  • [x] 50+ built-in design trends
  • [x] AI-powered trend research (designnn update)
  • [x] 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