2025-04-28 10:06:04 +10:00
2025-04-28 10:06:04 +10:00
2025-04-28 10:06:04 +10:00
2025-04-28 10:06:04 +10:00
2025-04-28 10:06:04 +10:00
2025-04-28 10:06:04 +10:00
2025-04-28 10:06:04 +10:00
2025-04-28 10:06:04 +10:00

UI Mockup Generator

A web application for creating UI mockups with standardized JSON configuration that can be generated by LLMs.

Overview

The UI Mockup Generator allows users to create, customize, and export mockup UI elements for various interfaces. The tool provides a simple yet powerful interface for designing professional-looking UI mockups, with a specific focus on making the configuration format LLM-friendly.

UI Mockup Generator

Features

  • Component Library: Funnel diagrams, charts, cards, form elements, and more
  • Style Customization: Color pickers, typography settings, spacing controls
  • Layout Management: Drag-and-drop interface, grid alignment, layers
  • Export Options: PNG, SVG, PDF, and JSON configuration
  • LLM Integration: Schema designed to be easily generated by language models

Getting Started

Prerequisites

  • Node.js 16.x or higher
  • npm 8.x or higher

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/ui-mockup-generator.git
    cd ui-mockup-generator
    
  2. Install dependencies:

    npm install
    
  3. Start the development server:

    npm run dev
    
  4. Open your browser and navigate to http://localhost:3000

Usage

Creating a Mockup

  1. Select components from the sidebar and drag them onto the canvas
  2. Customize component properties using the property panel
  3. Style components using the style panel
  4. Arrange components using drag-and-drop

Exporting a Mockup

  1. Click the "Export" button in the toolbar
  2. Choose your preferred export format (PNG, SVG, PDF, JSON)
  3. Save the file to your computer

Using with LLMs

The UI Mockup Generator uses a standardized JSON schema that is designed to be both human-readable and machine-friendly. This makes it ideal for integration with Large Language Models.

See the LLM Integration Guide for details on how to prompt LLMs to generate compatible mockups.

Documentation

Detailed documentation is available in the specs directory:

Project Structure

ui-mockup-generator/
├── client/                      # Frontend React application
├── server/                      # Backend Node.js server (optional)
├── specs/                       # Specifications and documentation
├── package.json                 # Root package.json
└── README.md                    # This file

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

S
Description
No description provided
Readme
192 KiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 96.3%
CSS 1.6%
HTML 1.2%
JavaScript 0.9%