Back to Skills

using-gui-wireframes

verified

Use when creating or editing UI mockups, screen layouts, or interface designs. Use INSTEAD of ASCII art for any visual UI representation.

View on GitHub

Marketplace

mermaid-collab-dev

ben-mad-jlp/claude-mermaid-collab

Plugin

mermaid-collab

Repository

ben-mad-jlp/claude-mermaid-collab

skills/using-gui-wireframes/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/ben-mad-jlp/claude-mermaid-collab/blob/main/skills/using-gui-wireframes/SKILL.md -a claude-code --skill using-gui-wireframes

Installation paths:

Claude
.claude/skills/using-gui-wireframes/
Powered by add-skill CLI

Instructions

# Using GUI Wireframes

## Overview

**ALWAYS use mermaid wireframe syntax for UI mockups.** Never use ASCII art boxes, tables, or text representations for UI layouts.

## When to Use

Use wireframe syntax when:
- User asks for a "mockup", "wireframe", "UI design", or "screen layout"
- Visualizing app screens, forms, dashboards, or navigation flows
- Showing multi-screen user flows or journeys
- Any situation where you'd otherwise draw ASCII boxes for UI

**NEVER use ASCII art for UI.** Wireframe syntax renders as actual visual diagrams.

## Quick Syntax Reference

```
wireframe [viewport] [direction]
  [component] ["label"] [modifiers]
```

**Viewports:** `mobile` (375×600), `tablet` (768×1024), `desktop` (1200×800)

**Direction:** `LR` (horizontal screens), `TD` (vertical screens)

**Containers:**
| Component | Purpose |
|-----------|---------|
| `col` | Stack children vertically |
| `row` | Place children horizontally |
| `Card` | Bordered container |
| `screen "label"` | Separate viewport (for flows) |

**Components:**
| Component | Example |
|-----------|---------|
| `AppBar "title"` | Top navigation bar |
| `Title "text"` | Large heading |
| `Text "text"` | Body text |
| `Input "placeholder"` | Text field |
| `Button "label"` | Clickable button |
| `Checkbox "label"` | Checkbox |
| `Switch "label"` | Toggle |
| `Dropdown "label"` | Select menu |
| `Avatar` | User avatar |
| `Image` | Image placeholder |
| `spacer` | Flexible space |
| `divider` | Horizontal line |

**Modifiers:** `primary`, `secondary`, `danger`, `disabled`, `flex=N`, `width=N`, `height=N`, `padding=N`

## Critical Syntax Rules

1. **Indentation = hierarchy** - Use 2 spaces per level, no tabs
2. **Labels in quotes** - `Button "Submit"` not `Button Submit`
3. **Modifiers after label** - `Button "Save" primary` not `primary Button "Save"`
4. **Grid uses pipes** - `header "Col1 | Col2"` and `row "Val1 | Val2"`

## Common Patterns

**Mobile form:**
```
wireframe mobile
  col
    AppBar "Form Title

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
3061 chars