• Explore
  • Pricing
  • Changelog
  • Docs

Real app references and an AI design canvas, for people and their agents.

Product

  • Library
  • App Previews
  • Canvas
  • Agents & MCP
  • Pricing

Integrations

  • Claude Code
  • Cursor
  • Codex
  • ChatGPT
  • All integrations

Resources

  • Documentation
  • MCP server
  • Alternatives
  • Blog
  • Changelog

Company

  • Contact
  • Terms
  • Privacy
  • Cookies

© 2026 Floo.

  • Explore
  • Pricing
  • Changelog
  • Docs
  • Back to blog

    Does Claude Code need to see its own UI? We broke a page and let it fix it, with and without screenshots

    Four agents, one real layout bug. Reading the code found the cause every time. Screenshots caught the problems that only show up once the page renders.

    AAwais Manzoor · Founder, Floo26 Nov 2026 · 3 min read
    Does Claude Code need to see its own UI? We broke a page and let it fix it, with and without screenshots

    "Give the agent eyes" is popular advice: let Claude Code screenshot what it builds, and it'll catch its own layout bugs. We wanted to know how much that actually buys you, so we used a real bug instead of a made-up one.

    In our model comparison, Haiku's bare-prompt page came out with a broken first screen. The headline started 636 pixels down, under a slab of empty space, and the main "Start free" button ended at 1,061 pixels, below the bottom of a 1440 × 900 window. Nobody would ship that.

    A landing page whose product mock-up is squeezed: the message thread has dropped into a narrow column under the sidebar, pushing the headline to the bottom of the screen
    The bug, as Haiku made it. The conversation thread has fallen into the narrow left column, and everything else gets shoved down.

    The setup

    We gave four fresh Claude Code agents the same instruction: "This landing page was designed for a 1440 × 900 desktop browser window. Review its layout and fix any layout problems you find, especially in the first screen. Keep the design, copy and colours otherwise the same."

    • Code only: the agent was told not to render, screenshot or open the page.
    • With screenshots: the agent got one command that renders the page at 1440 × 900 and saves a first-screen and a full-page screenshot, and was asked to look before changing anything and again afterwards.

    We ran both on Haiku 5.5 and Sonnet 5.5. Same file, one shot each.

    Reading the code found the bug every time

    All four agents found the same root cause, and all four fixed it. The inbox mock-up had three panels (folders, conversation list, thread) but its grid only had two columns, so the thread wrapped into a second row inside the narrowest column and dragged the whole hero down. Every agent changed the grid to three columns and rebalanced the hero.

    Four fixed versions of the same landing page in a two by two grid: Haiku and Sonnet, each working from code only and with screenshots. All four show the headline, buttons and a three-panel inbox in the first screen
    All four fixes. Every one brought the headline and the button back into the first screen.

    Measured in the same browser, the main button went from 1,061 pixels down to between 607 and 709 pixels, well inside the first screen, in every run. The code-only runs were no slower. Sonnet working blind was the fastest of the four, at 32 seconds.

    Button ends atHeadline starts atTimeTool calls
    Broken page1,061 px636 px
    Haiku, code only709 px284 px54 s7
    Haiku, with screenshots675 px219 px56 s15
    Sonnet, code only607 px213 px32 s2
    Sonnet, with screenshots648 px191 px54 s9

    So for a structural bug, the kind you can find by reading the CSS, eyes didn't matter. The code said "three panels, two columns", and every agent could read that.

    Screenshots caught what only shows when it renders

    The difference was in the details nobody asked about.

    Close-ups of the four fixes. Haiku code-only truncates names to 'Maya Rey...' and 'Deon Ok...'; Haiku with screenshots shows full names. Sonnet code-only shows 'Unassigned5' with the count touching the label; Sonnet with screenshots shows 'Unassigned 5'
    Top: Haiku's code-only fix truncates names; with screenshots they fit. Bottom: Sonnet's code-only fix jams a count against its label; with screenshots there's room.
    • Haiku working blind left the conversation list so narrow that names got cut off: "Maya Rey…", "Deon Ok…". Haiku with screenshots shows "Maya Reyes" and "Deon Okafor" in full.
    • Sonnet working blind left "Unassigned" touching its count: "Unassigned5". Sonnet with screenshots has the gap, and it also noticed that a "Waiting on us" pill overflowed and that message previews were being cut off, and fixed both.

    None of these show up in the code as an error. They only exist once text meets a real width in a real font. You find them by looking, which is what the screenshot runs did: Haiku took 15 tool calls to the blind run's 7, rendering the page and checking it as it went.

    What we'd take from this

    1. Don't skip the code review. For layout bugs with a structural cause, reading the markup is fast and reliable. The cheapest model working blind fixed the real bug in under a minute.
    2. Do give it eyes for the last mile. Truncated text, collisions and overflow are where a page starts to look careless, and they're invisible in the source. A screenshot step costs a few seconds per look.
    3. Ask it to look again after its changes. A layout fix moves things around, and the moved things are where new small problems hide. Both screenshot runs were told to check their own work, and both came out clean.

    This is also why every Floo canvas gives agents a screenshot tool, and why our MCP server tells them to use it: "Look at every change with get_frame_screenshot before moving on." On Floo the agent sees the frame it just changed, and so does everyone else on the canvas.

    What this doesn't tell you

    One bug, four runs. A bug that's purely visual, like a colour clash, an awkward line break or a crowded header, would probably separate the two conditions more, and a bug buried in a big codebase would make "just read the code" harder. We'd like to run both next.

    See the pages

    • The broken page
    • Haiku: code only, with screenshots
    • Sonnet: code only, with screenshots