A raw screenshot of a web app floats awkwardly on a page. There is no edge, no context, and the reader has to work out where the product ends and your page begins. Wrapping it in a browser frame fixes that in one step: it signals “this is the product, running in a browser”, and it gives the image a clean outline.
This guide covers how to capture, frame, crop and ship browser mockups so they look good and do not slow your page down.
Light or dark frame
Pick the frame that matches the screenshot, not your page.
- Light frame for a light UI. A dark toolbar on top of a white app creates a hard band that pulls attention away from the content.
- Dark frame for a dark UI, for the same reason.
- If your page background is dark and the app is light, keep the light frame and let the shadow and a little padding separate it from the page.
Use the same frame across a whole page. Mixing light and dark frames in one feature grid looks like two different products.
Edit the URL and tab title
The browser frames in our editor have an editable address bar and tab title. Use them.
- Replace
localhost:3000or a staging domain with your real production URL. - Keep the path meaningful:
app.example.com/projectstells the reader where they are. A long query string tells them nothing. - Make the tab title match the screen: “Projects”, “Billing”, “Settings”.
- Never leave a personal account name or internal tool name in the tab. More on that in redacting sensitive data.
Capture at 2× device pixel ratio
A screenshot taken on a standard-density display looks soft on a high-density laptop or phone. Capture at a device pixel ratio of 2 whenever you can.
- On a high-density display, a normal screenshot is already 2×.
- In Chrome DevTools, open the device toolbar, choose a responsive size, set DPR to 2, then use “Capture screenshot” from the command menu.
- With our Chrome extension, “As device” capture (Pro) sets the viewport and pixel ratio for you, captures, and restores the tab afterwards.
A good default viewport for marketing shots is 1440 × 900 CSS pixels at 2×, which gives you a 2880 × 1800 image. That is enough to crop into a region and still have sharp text.
Crop to what matters
Full-page screenshots rarely work on a landing page. The reader sees a small, dense rectangle and cannot tell what to look at.
- Open the editor with the browser preset and drop in the screenshot.
- Set zoom above 1 and turn on crop. With crop on, zoom enlarges the screen content while the browser frame stays the same size.
- Hold Alt (Option on a Mac) and click on the part you want to keep centred. That sets the zoom focus.
- Adjust zoom until the key element (a chart, a form, a table) fills most of the window.
Cropping inside the frame keeps the browser context while still showing one thing clearly. It is the single most effective change for feature sections.
Keep a set consistent
Landing pages, docs and changelogs show many screenshots. Consistency makes them look designed rather than collected.
| Setting | Recommendation |
|---|---|
| Canvas ratio | 16:9 for heroes and changelogs, 4:3 for feature grids |
| Padding | Pick one value (8 to 12 %) and keep it |
| Corner radius | One value for every shot (10 to 14 px works well) |
| Shadow | Soft for grids, deep for a single hero |
| Background | One colour or one gradient family per page |
| Angle | Front for docs; a light angle (Floating or Left 25°) only for heroes |
Docs especially should stay flat and front-on. Readers are trying to follow instructions, and a tilted screenshot makes matching the UI harder. Save the 3D angles for marketing, and see 3D and isometric mockups when you do use them.
Ship small files
A beautiful mockup that adds a second to your page load is a bad trade.
- Use WebP. For screenshots with large flat areas, WebP is usually much smaller than PNG at the same visual quality. Keep PNG only when you need lossless output or the target does not accept WebP.
- Export at the size you display. If the image is shown 1200 px wide on desktop, export 2400 px for high-density screens, not 5000.
- Provide multiple widths with
srcsetso phones download a smaller file. - Always set width and height so the browser reserves space and the layout does not jump.
- Lazy load images below the fold. Do not lazy load the hero, because it is often the largest contentful paint.
<img
src="/img/projects-1200.webp"
srcset="/img/projects-800.webp 800w, /img/projects-1200.webp 1200w, /img/projects-2400.webp 2400w"
sizes="(min-width: 1024px) 1200px, 100vw"
width="1200" height="675"
loading="lazy" decoding="async"
alt="Projects page showing three active projects with progress bars and due dates"
/>
For the hero image, drop loading="lazy" and consider fetchpriority="high".
Write useful alt text
Alt text is read by screen readers and used when the image fails to load. “Screenshot” or “app mockup” helps nobody.
- Describe what the screen shows and why it is there: “Billing settings with the yearly plan selected and an invoice list below”.
- Skip the frame. “In a browser window” is rarely useful.
- Keep it to a sentence or two. If the screenshot carries essential information, put that information in the page text too.
Changelog shots
Changelogs are where consistency pays off most, because readers scroll through months of entries.
- Use the same canvas ratio and background for every entry.
- Crop tightly to the new feature, using zoom and focus.
- Add a short headline with the text layer only if the entry title does not already say it.
- Copy the image straight to the clipboard (Cmd/Ctrl+C) to paste into your changelog tool.
For social posts announcing the same release, reuse the shot at the right size; social image sizes lists the common ones.