Start from mockups & PDFs

Attach up to 8 Figma exports, hand-drawn sketches, brand PDFs, or product photos via + so turn one matches your real aesthetic and business content.

Why reference files outperform long visual descriptions

Visual adjectives are notoriously imprecise. Words like "clean, modern, warm minimal" describe fifty unrelated sites, from a Nordic furniture shop to a dark SaaS dashboard. Writing three paragraphs about layout spacing still leaves room for guesswork.

Attaching real reference files removes that guesswork immediately. Click + in the ExaSpark composer (across Web Studio, Mobile Web, or the Desktop App) to attach up to 8 files per turn. ExaSpark reads proportions, palette contrast, typography rhythm, and real product details directly on turn one.

Uploading authentic logos, studio photos, or printed price sheets also prevents filler text and generic stock imagery from ever entering your build.

Supported reference types and the 8-file budget

Every turn supports up to 8 attachments. Budget those slots across distinct roles rather than uploading eight overlapping screenshots of one page.

Reference file typeIdeal slotsWhat ExaSpark extracts accuratelyBest starting mode
Figma / design frame PNGs1–3 slotsGrid spacing, card hierarchy, surface tones, and type scaleDesign, Web, or App
Hand-drawn paper or whiteboard sketch1–2 slotsSection order, button placement, navigation, and user flowDesign or App
Brand guideline PDF / logo pack1–2 slotsExact logo lockup, hex palette, font direction, and toneAny mode
Product or team photography2–4 slotsReal hero banners, product cards, and gallery shots embedded directlyWeb, App, or Image
Menu, rate card, or catalog PDF1 slotAuthentic service names, descriptions, durations, and pricesWeb or App
Layout inspiration screenshot1–2 slotsWhitespace rhythm and card density (never copied branding)Design

Preparing high-signal attachments before uploading

Two minutes of clean file prep sharply boosts turn-one precision and avoids follow-up turns fixing misread details.

Export individual Figma frames cleanly

Skip zoomed-out screenshots of an entire Figma canvas. Export key screens (Homepage Desktop 1440px, Pricing Section, Mobile 390px) as crisp 2x PNG files so small button labels, borders, and spacing stay razor-sharp.

Crop tall webpages into viewport sections

Ultra-tall 10,000-pixel full-page captures compress tiny fonts and subtle dividers into blurs. Take two or three viewport-height crops — Hero, Core Grid, and Pricing / Checkout — so every pixel carries clear visual signal.

Photograph hand-drawn sketches cleanly

Sketches excel at mapping custom workflows fast without locking premature visual polish:

  • Use dark ink on plain paper (or a clean digital board) for high line contrast.
  • Label every box with real actions ("Filter by date", "Book ($45)", "Admin Roster") instead of blank squiggles.
  • Shoot straight down in bright even light and crop desk clutter before attaching via Mobile Web camera roll or Desktop drag-and-drop.

Trim long brand or catalog PDFs

Extract just the 2–4 relevant pages (palette, typography, logo rules, and service pricing) from a 60-page brand manual before uploading so ExaSpark locks onto exact hex codes and prices cleanly.

Assigning explicit roles to every attachment

Never drop six images into chat and type "Build my site like this." If two images use conflicting palettes, ExaSpark has to guess which controls color and which controls layout.

Map each file to one clear job right inside your prompt:

text
Attachment role map:
1. Logo & brand PDF  -> exact mark, hex palette, and typography voice
2. Layout reference  -> section rhythm, spacing, and card density ONLY
3. Real photography  -> place directly inside hero and catalog cards
4. Pricing/menu PDF  -> extract exact service titles, durations, and prices
5. Explicit overrides -> anything you want changed from the reference

Example: Starting in Design mode from a sketch, brand PDF, and photos

Start in Design mode when you have real brand assets and a rough sketch yet want to compare two polished concepts before wiring tables:

Starter prompt · Design

Create two visual directions for Solis Ceramic Studio using the 5 attached files. Use `solis-logo.png` and `brand-sheet.pdf` for our terracotta accent, warm oat surface, and logo lockup. Follow the section flow in `homepage-sketch.jpg` (hero, 3 upcoming wheel-throwing workshops, gallery, FAQ). Place `studio-hero.jpg` and `bowl-set.jpg` directly in the hero and cards. Replace the script font in the brand sheet with a crisp editorial serif paired with a clean sans-serif body font.

Example: Going straight to App mode from Figma frames and a menu PDF

When visual design is finalized in Figma, jump straight into App mode and pair layout fidelity with real database and checkout logic:

Starter prompt · App

Build our bakery pre-order app matching the 3 attached Figma frames (`hero-desktop.png`, `menu-grid.png`, `checkout-mobile.png`) for spacing, hierarchy, and button styling. Load every pastry name, allergen tag, and dollar price from `weekend-menu.pdf` into a Cloud `products` table (stored in integer cents). Add customer login, pickup slot selection capped at 15 orders per 30-minute window on the server, and Stripe Test checkout.

Step-by-step workflow: From mockup to live preview

  1. Curate up to 8 focused files

    Pair your logo, 1–3 cropped mockups or sketches, 2–3 real photos, and 1 pricing PDF when relevant.

  2. Attach via + in the composer

    Upload from Finder/Explorer in Web Studio or Desktop App, or straight from your phone camera roll on Mobile Web.

  3. Write a role-mapped prompt

    Name which file governs brand colors, which guides layout, which photos go live in UI, and any intentional overrides.

  4. Verify real content on turn one

    Check Design Canvas or Preview to confirm exact prices, product titles, and logo proportions transferred cleanly without placeholders.

  5. Add remaining media in batches

    Build core screens with your top 6–8 shots first, then upload extra gallery photos on turn two or directly into Cloud File storage.

Polishing raw photos and locking consistency

Authentic phone photos often outperform stock imagery for buyer trust, yet cluttered backgrounds can weaken product grids:

  • Run transparent cutouts on Starter+. On Starter ($4.99/mo or $3.99/mo annually) and Pro, open Image mode to create clean transparent cutouts or unified studio lighting from phone shots. See Creative Studio.
  • Swap single visuals with click-to-edit. Replace one hero image or adjust crop alignment inside Preview without triggering a full code turn.
  • Save persistent brand rules. Store key palette hexes and tone guidelines inside Project instructions so turn 20 matches turn 1.

Common attachment pitfalls and fixes

SymptomLikely causeFastest fix
Output mixed two clashing aestheticsMultiple inspiration shots uploaded without explicit file rolesRe-prompt assigning one file strictly to color/font tokens and another strictly to layout
Small mockup text was misreadUltra-tall full-page capture compressed fine typographyExport individual viewport sections at 2x PNG and re-upload
Placeholder items replaced PDF menuAttached PDF without asking to populate the Cloud tablePrompt: "Replace sample rows in the Cloud menu table with exact names and prices from menu.pdf"
Need more than 8 reference assetsComposer caps attachments at 8 files per turnUpload hero + brand files on turn 1; add extra assets on turn 2 or via Cloud storage
Logo looks tiny or clipped in navbarSquare logo file contained oversized blank paddingCrop tight margins around your transparent PNG/SVG logo and re-attach

Next steps

Still have a question?Ask our team and other builders on Discord.

From the blog