What a wireframe is and why you need one before you code

A wireframe is a simple, low-detail sketch of a web page that shows where things go and how they connect — without colors, images, or final design. It maps out the layout: where the header sits, where buttons live, how content flows down the page, and what happens when someone clicks something.

You build a wireframe before you write code because it forces you to think through the structure when changes are cheap. On paper or in a basic tool, moving a button takes seconds. In code, it takes minutes and breaks other things. A wireframe also lets you talk to other people — designers, clients, team members — about what the page should do, without getting stuck on whether the blue is the right shade of blue.

Most wireframes use rectangles, lines, and text labels. Some teams add simple arrows to show how users move from one page to another. The goal is clarity, not beauty. If your wireframe looks polished, you spent time on the wrong thing.

Key Takeaways

  • A wireframe shows layout and structure using simple shapes and labels, not colors or images, so you can test the design before coding.
  • Start by listing what content and features the page needs, then sketch where each one goes and how they relate to each other.
  • You can draw wireframes on paper, whiteboard, or in tools like Figma, Adobe XD, or Balsamiq — the tool matters less than the thinking.
  • Share your wireframe with teammates and stakeholders to catch structural problems early, when they are still cheap to fix.
  • A wireframe is not a final design — it is a conversation starter about what the page should do and how users will move through it.

Start by listing what the page needs to contain

Before you draw anything, write down what has to be on the page. For a product page, that might be: product image, title, price, description, reviews, add-to-cart button, related products, and footer links. For a blog post, it might be: headline, author name, publish date, featured image, body text, comments section, and sidebar with recent posts.

Group related items together. All the product details (title, price, description) belong in one area. Reviews belong in another. This grouping becomes the structure of your wireframe. You are not deciding how big things are yet — just what goes where and what belongs together.

Ask yourself: what does the user need to do on this page? If it is a checkout page, they need to enter an address, choose shipping, and pay. If it is a landing page, they need to understand what you offer and click a sign-up button. Write that down. Your wireframe will guide them through those steps in order.

Sketch the layout on paper or a whiteboard first

Draw a rectangle for the whole page. Inside it, draw smaller rectangles for each section: header at the top, main content in the middle, sidebar on the right, footer at the bottom. Label each rectangle with what goes there — "Navigation", "Hero Image", "Product Details", "Sidebar: Related Items".

Use simple shapes. A rectangle for an image. A line for text. A small rectangle for a button. Write the button label inside it: "Add to Cart" or "Sign Up". Do not worry about exact sizes or spacing — rough proportions are enough. If the sidebar is narrower than the main content, make the rectangle narrower, but do not measure it.

Draw arrows between sections to show how the user moves through the page. An arrow from the hero image down to the product details shows the natural scroll. An arrow from the "Add to Cart" button to a checkout page shows what happens when someone clicks it. These arrows help you and others see the flow.

If you are sketching on paper, take a photo when you are done. If you are on a whiteboard, photograph it before someone erases it. You will want to refer back to this and share it with others.

Move to a digital tool if you are working with a team

Paper works for solo thinking, but if other people need to see your wireframe, edit it, or leave comments, move it to a tool. Figma is free for basic wireframing and lets multiple people work at once. Adobe XD is similar and integrates with other Adobe tools if your team uses them. Balsamiq is built specifically for wireframes and has a sketchy, low-fidelity look that signals "this is not the final design".

Open a blank canvas. Use the rectangle tool to draw boxes for each section. Type labels inside them. Most tools have a "wireframe" template or library with common elements — headers, buttons, form fields, navigation bars — so you do not have to draw from scratch. Use them. They are faster and keep your wireframe consistent.

Add notes next to sections to explain what happens there. Next to a form field, write "User enters email address". Next to a button, write "Submits form, goes to confirmation page". These notes are for you and your team, not for the final product. They clarify intent.

Show your wireframe to others and ask specific questions

Once you have a draft, share it with your team, your client, or whoever will use or build from it. Do not ask "What do you think?" — that is too open. Ask specific questions: "Should the search bar be in the header or in the sidebar?" "Does the user need to see reviews before they add the item to their cart, or after?" "Should the footer have links to social media?"

Listen for confusion. If someone asks "Where do I click to do X?", your wireframe did not make that clear. That is useful information now, when you can redraw a section in minutes. If you wait until the page is coded, the fix is slower and more expensive.

Mark up the wireframe with feedback. Use comments in your tool, or print it and write on it by hand. Keep a list of changes to make. Some feedback will contradict other feedback — that is normal. Your job is to spot the conflicts and resolve them before coding starts.

Decide on responsive behavior — how the layout changes on mobile

A desktop wireframe often does not work on a phone. A two-column layout with a sidebar becomes one column on mobile. A horizontal navigation bar becomes a hamburger menu. Decide this now, not later.

Draw a second wireframe for mobile view, or add notes to your desktop wireframe explaining what changes. For example: "On mobile, sidebar moves below main content" or "Navigation collapses into hamburger menu". This tells your developer what to build and prevents surprises when the page is tested on a phone.

If you are using Figma or Adobe XD, you can create multiple artboards — one for desktop, one for tablet, one for mobile — and show how the same content rearranges. This is clearer than a note and easier to reference while coding.

Move from wireframe to design or code

Your wireframe is done when everyone agrees on the structure and flow. At that point, a designer can take it and add colors, typography, images, and polish. Or, if you are building without a designer, you can hand it to a developer who will code the HTML and CSS to match the layout.

The wireframe stays useful throughout. When a developer asks "Should this button be here or there?", you point to the wireframe. When a designer proposes a layout change, you check it against the wireframe to see if it changes the user flow. The wireframe is your source of truth for structure.

Keep the wireframe in a shared place — a folder in Figma, a Google Drive, a wiki — so anyone working on the project can find it. Label it with the date and version number if you make major changes. "Checkout Wireframe v2" is clearer than "Checkout Wireframe Final".

Frequently Asked Questions

Do I need to wireframe every page, or just the main ones?

Wireframe the pages where users make decisions or take action: the homepage, product pages, checkout, sign-up, and any page with a complex layout. Simple pages like an About or Contact page may not need one. If you are unsure, wireframe it — the time investment is small and the clarity is worth it.

What is the difference between a wireframe and a mockup?

A wireframe shows structure and layout in grayscale with simple shapes. A mockup adds colors, real images, typography, and visual design — it looks closer to the final product. Wireframes come first and are faster to change. Mockups come after and are what designers and clients use to approve the visual look.

Can I skip wireframing and go straight to design?

You can, but you will likely redesign the layout later when you realize the structure does not work. Wireframing takes a few hours and saves days of rework. It is especially valuable if you are working with others or building something complex.

Should wireframes include real content or placeholder text?

Use placeholder text like "Lorem ipsum" or "Product description goes here" to show where content lives. Real content is better if you have it — it shows how long text wraps and whether a headline fits on one line. But do not wait for perfect content to start wireframing. Placeholder text is fine for structure.

What if I change my mind about the layout after I start coding?

That happens. Go back to the wireframe, make the change there, and share the updated version with your team. This keeps everyone on the same page and prevents miscommunication. It is faster to update a wireframe and then code the change than to code first and figure out what broke.