Presta Loom
Workflows

react ecommerce template

03
Component Split

Split a flat file into components

You have a large product page file that mixes structure and logic. Presta Loom reads the file, identifies reusable parts, and writes separate component files. You review each diff before the agent applies the changes to your project folder. If you share a screenshot, you can ask for thoughts on my shop website and get a detailed review.

01

Open folder

Select the project directory in the chat interface.

02

Read file

Read the main product page source code.

03

Edit file

Create new component files with extracted markup.

04

Check diff

Review the changes in the Ask first mode.

Example product card

product-card.html
<article class="product-card">
  <img src="img.jpg" alt="Blue shirt"
       width="200" height="200">
  <h3>Blue Shirt</h3>
  <p>Price: $25.00</p>
  <p>Small stock left</p>
  <a href="cart.html">Add to cart</a>
</article>

A simple product card with an image, title, price, and link. It uses standard HTML elements and includes alt text for accessibility.

Manage ecommerce email templates

Inspect layout

Presta Loom uses list_dir to find HTML files and read_file to load the order confirmation template for your shop so it checks the layout. It checks the layout. The agent verifies inline CSS and table structures suitable for email clients. It sets the width to around 600 pixels for compatibility. You can ask the agent to fix broken links using edit_file. The agent shows a diff of the changes in Ask first mode. You approve the changes only if they look correct and then save the file. Please rate my store after testing in real mail clients.

Build components

Presta Loom reads the monolithic file and splits it into components, so you get a cleaner structure and better organization and you can build a react ecommerce template. It works well. The agent uses grep to find repeated blocks in your code. It creates new files for the header and footer sections. write_file saves the components, and your build command checks for errors. Plan only writes a plan, Ask first shows diffs clearly. A new branch keeps your main branch clean for later merging using the version-control skill. This approach helps design ecommerce email templates effectively while you choose the best platform to build ecommerce service website.

Presta Loom for Windows

Start building your shop

Download Presta Loom ↗