Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Wireframe Html?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sayeed1999-wireframe-html)
---
name: wireframe-html
description: One HTML file per screen, with shared design/styles.css. A click on a screen opens the next screen. Used by ui-ux-designer only.
---
# wireframe-html
Clickable HTML mock-ups. No build step. Each screen opens alone in a browser.
## Steps
### 1. Create the folder
- One folder per surface. A surface is one app, role, or area named in the PRD.
- Folder name: lowercase kebab-case, taken from that surface (`app`, `admin`, `shopper`).
- One surface still gets one folder, so links between its screens stay in that folder.
```
design/
index.html
styles.css
<surface>/
01-<screen-name>.html
02-<screen-name>.html
```
### 2. Write `design/styles.css`
- Use this file only for screen frames and gallery preview layout.
- For non-admin surfaces, `.screen` is 390px wide and 844px tall. On a viewport at least 500px wide, center it on `#DDE1E8` with a 36px radius and shadow.
- For admin surfaces, use a desktop-first layout targeting 1440px by 900px. Do not use a phone frame or require mobile layouts unless the PRD asks for them.
- Apply the short-viewport zoom rules only to phone surfaces: below 900px tall, zoom `.screen` to 0.85; below 760px tall, zoom it to 0.72.
- Font: `system-ui, sans-serif`, or one Google Fonts family. Tailwind's CDN script is the only required external dependency.
- Do not style screen content or controls in this file.
### 3. Write one HTML file per screen
- Filename: `NN-<screen-name>.html`. `NN` is `01`, `02`, `03`, in the order the user moves through that surface.
- Link the shared file: `<link rel="stylesheet" href="../styles.css">`.
- Load Tailwind CSS with `<script src="https://cdn.tailwindcss.com"></script>`.
- Use `<meta name="viewport" content="width=device-width, initial-scale=1">`.
- Style screen content and controls with Tailwind utility classes.
- Use a `<style>` block only for a screen-specific effect Tailwind utilities cannot express.
- First line inside `<body>`: `<!-- R-IDs: R-02, R-03 -->`.
- Sample text and numbers are fake and hardcoded.
- Every form field has a visible label.
- Draw icons and pictures with inline SVG or CSS. No remote image URL.
### 4. Link each click to the next screen
- A control that changes screens is an `<a href="NN-other.html">` in the same folder. Not a `<button>`. Not script.
- The forward action links to the next file in that flow.
- Back links to the previous file.
- A second action (cancel, skip, another choice) links to the file that action opens.
- Several choices that continue the same way all link to that same next file.
- The last screen's closing action links to the file the PRD returns to.
- `href="tel:..."` and `href="https://..."` are only for a control that leaves the product, such as call or map. The flow itself stays on local files.
- An empty or error view the PRD requires is its own file, linked from the action that leads there.
### 5. Write `design/index.html`
- Title: the product name, then `mock-ups`.
- One `<h2>` per surface. Under it, one `.grid` of cards, in file order.
- Each card is an `<a class="card" href="<surface>/NN-<screen-name>.html">`.
- Inside the card: a `.thumb` with an `<iframe>` of that file, then `<b>N. Screen name</b>`.
- For phone surfaces, the iframe is 390px by 844px, scaled to 0.6. For admin surfaces, use a `.thumb.desktop` and `iframe.desktop` preview at 1440px by 900px, scaled to 0.25.
- Every preview iframe has `pointer-events: none` and `tabindex="-1"`, so the card link receives the click.
- Use this style:
```html
<style>
body{margin:0;padding:32px 24px;background:#DDE1E8;color:#141821;font-family:system-ui,sans-serif}
.grid{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:40px}
.card{color:inherit;text-decoration:none;display:flex;flex-direction:column;gap:10px;font-size:14px}
.thumb{display:block;width:234px;height:506px;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(20,24,33,.18)}
iframe{width:390px;height:844px;border:0;transform:scale(.6);transform-origin:0 0;pointer-events:none}
.thumb.desktop{width:360px;height:225px}
iframe.desktop{width:1440px;height:900px;transform:scale(.25)}
</style>
```
### 6. Check
- Every UI requirement is on at least one screen.
- Every screen file links `../styles.css` and is a card in `design/index.html`.
- Every local `href` in a screen file is a file that exists.
- From the first file of a flow, the forward action reaches the last file of that flow.
## Format: screen file
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Surface: Screen name</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="../styles.css">
</head>
<body>
<!-- R-IDs: R-01 -->
<div class="screen">
<a class="rounded bg-blue-600 px-4 py-2 text-white" href="02-home.html">Continue</a>
</div>
</body>
</html>
```
## MUST
- Keep one screen per file.
- Use Tailwind utility classes for screen content and controls.
- Keep `design/styles.css` limited to screen frames and gallery previews.
- Make every control that changes screens a link to that screen's file.
- Give every UI requirement a screen.
## NEVER
- Add a feature that is not in the PRD.
- Add persistence, real requests, or script that changes screens.
- Use a UI framework other than Tailwind CSS.
- Add a build tool or npm package.