# Using AI to build a template from mockup images

**URL:** <https://forum.bricksbuilder.io/t/using-ai-to-build-a-template-from-mockup-images/40866>\
**Category:** How To\
**Created:** [November 24, 2026, 1:30pm UTC](https://forum.bricksbuilder.io/t/using-ai-to-build-a-template-from-mockup-images/40866 "2026-11-24T13:30:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamie](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jamie/32/24467_2.png) [@jamie](https://forum.bricksbuilder.io/u/jamie)\
**Post date:** [November 24, 2026, 1:30pm UTC](https://forum.bricksbuilder.io/t/using-ai-to-build-a-template-from-mockup-images/40866/1 "2026-11-24T13:30:37Z")

</div>

I’m not new to Bricks or web development, but so far have largely shied away from incorporating AI in to my workflow. I’m about to build a layout based on a mockup image and want to check if realistically speaking Bricks’s AI offerings could take a static mockup image and build a template? My current thinking is that even if it were possible, it would output slop and I would need to spend ages refining prompts and instructions about how to do things “properly” … or have we come past that now?

---

<div class="post-metadata">

**Author:** ![nudinlubis](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/nudinlubis/32/23073_2.png) [@nudinlubis](https://forum.bricksbuilder.io/u/nudinlubis)\
**Post date:** [November 29, 2026, 2:28am UTC](https://forum.bricksbuilder.io/t/using-ai-to-build-a-template-from-mockup-images/40866/3 "2026-11-29T02:28:30Z")

</div>

Hey Jamie, I use an AI assistant connected to Bricks via MCP. I give it one section of the mockup and ask it to use native Bricks elements and reuse my classes and spacing variables. Then I check the Structure panel and switch to mobile. If the columns stack the way I want and the section is easy to edit, I move on to the next one.

---

<div class="post-metadata">

**Author:** ![jamie](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/jamie/32/24467_2.png) [@jamie](https://forum.bricksbuilder.io/u/jamie)\
**Post date:** [November 29, 2026, 9:00am UTC](https://forum.bricksbuilder.io/t/using-ai-to-build-a-template-from-mockup-images/40866/5 "2026-11-29T09:00:03Z")

</div>

By way of an update I took some time to experiment with this topic last week. The setup I used was Claude Code running inside WSL2, connected to the WordPress MCP Adapter (plugin), then to Bricks and its skills. I fed it an entire mockup of a homepage that was already provided to me as HTML and after 15 minutes it had done a much better job than I’d expected of translating it in to a Bricks layout.

I have needed to tame and revise it so that things are setup as I like, and of course had I specified those things from the start it would have been even closer.

My plan is to get Claude to interview me about how I like to work, then those answers will be stored in config files for future work.

---

<div class="post-metadata">

**Author:** ![nudinlubis](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/nudinlubis/32/23073_2.png) [@nudinlubis](https://forum.bricksbuilder.io/u/nudinlubis)\
**Post date:** [November 29, 2026, 10:53am UTC](https://forum.bricksbuilder.io/t/using-ai-to-build-a-template-from-mockup-images/40866/7 "2026-11-29T10:53:59Z")

</div>

I like the idea of having Claude interview you, Jamie. I use Claude Code in VS Code too. In my early experiments, a page could look close to the mockup and still be set up quite differently from how I’d build it in Bricks.

What helped was writing a custom skill for my workflow. It covers what goes in Theme Styles, which variables to use for type and spacing, how I set global defaults for elements, and when to reuse a component. I also spelled out when to use Bricks’ style controls and when I’d reach for custom CSS.

Once Claude could follow those rules on one page, I could give it the remaining pages in batches. I still review each batch. In my experience, how much context the model can keep track of makes a difference to which details it misses.
