Device mockup

Also called phone mockup, browser mockup, iPhone mockup, Android mockup, or Safari mockup

A phone or browser frame drawn in CSS or SVG around a screenshot or live UI, so a landing page shows the product the way it looks on a device.

What is Device mockup?

A device mockup wraps your product in the shape of the screen it runs on. A phone frame is a tall rounded rectangle with a thick bezel, a camera cutout, and small side buttons. A browser frame is a window with three dots and an address bar. Drawing the frame in CSS or SVG keeps it sharp at any size and lets it follow your colors and dark mode, which a photo of a real device can’t.

Inside the frame goes either a screenshot or the real UI. A screenshot is simple and exact. Live UI, your actual components sized to fit, stays current with the product, can animate, and lets visitors click around. Either way, size the screen to the device’s aspect ratio, about 9:19.5 for a modern phone, and round its corners to sit just inside the frame’s.

Keep frames generic unless you have permission to use a manufacturer’s design and logos. Mark the frame as decoration with aria-hidden and give a screenshot meaningful alt text. Skip heavy shadows and steep 3D tilts that make the product harder to see, and stack a phone and a browser frame on small screens instead of squeezing them side by side.

All terms

Hero section

The large first section at the top of a landing page, with a headline, a short subhead, a call to action, and a visual.

Responsive design

Designing one layout that adapts to any screen width, rearranging columns, sizes, and navigation at set widths called breakpoints.

Border radius

The CSS property that rounds an element’s corners, from a slight softening to a full pill or circle.

Drop shadow

A shadow cast behind an element to make it look raised off the page, with larger, softer shadows signaling higher elevation.

Build it with Layerwise

Describe your app, watch it run in a live preview, and publish it with a database, storage, and sign-in built in.