A visual UI builder that generates markdown representations of user interfaces for easy communication with AI agents.
MD UI Builder allows you to visually design user interfaces using a drag-and-drop interface and export them as standardized markdown documents. These markdown files can then be shared with AI agents to implement the UI in various frameworks (PyQt, CustomTkinter, HTML/CSS, etc.).
- Visual UI Builder: Drag-and-drop interface for building UIs
- Container-Based Layout: Use rectangular containers (horizontal/vertical) to structure your UI
- Rich Element Library: Buttons, labels, text boxes, dropdowns, checkboxes, and more
- Markdown Export: Generate standardized markdown representations
- Framework-Agnostic: Output works with PyQt, CustomTkinter, HTML/CSS, and other frameworks
- Import/Export: Save and load your UI designs
- Clone this repository
- Install dependencies:
pip install -r requirements.txtRun the application:
python main.py- Add Containers: Click "Add Container" to create rectangular layout areas
- Configure Containers: Set orientation (horizontal/vertical), size, and position
- Add Elements: Drag UI elements from the palette into containers
- Set Properties: Click elements to edit their properties
- Export: Click "Export to Markdown" to generate the markdown file
Share the generated markdown file with AI agents with prompts like:
- "Implement this UI in PyQt"
- "Create this interface using CustomTkinter"
- "Build this layout in HTML/CSS"
See UI_SCHEMA.md for detailed documentation on the markdown format.
MIT License
