Device mockups and frames

Browser chrome, phone frames, terminals and screenshot surrounds.

A screenshot in a frame reads as a product; the same screenshot bare reads as a diagram. These are the frames — browser chrome with a URL bar, phone and tablet bodies, a terminal window — as CSS rather than as PNGs, so they recolour with your theme and stay sharp at any resolution.

76 matching6 primitives70 effectsFree to copy
Open the full page for this primitive

Browser Frame

Desktop browser chrome that wraps whatever you put inside it — a screenshot, a video, or the live component itself. Three variants, no image asset, and the window controls are grey rather than a copy of one vendor’s.

Frames & Mocks139 lines1 dep
Open the full page for this primitive

Phone & Tablet Frame

One handset bezel with the cut-out as a prop, so iPhone, Android and tablet are three settings rather than three assets. Status bar and home indicator included, and the clock is a prop so it can never be a hydration mismatch.

Frames & Mocks145 linesNo deps
Open the full page for this primitive

Laptop Frame

A lid, a hinge and a tapered base, with the taper done by clip-path rather than the border trick that cannot round or carry a background. Degrades to a boxier laptop where clip-path is missing.

Frames & Mocks68 linesNo deps
Open the full page for this primitive

Device Showcase

The product-hero arrangement: a handset overlapping a laptop, overlapped with a negative inline-start margin so both stay in flow and the group keeps an honest height. Stacks below sm instead of shrinking to nothing.

Frames & Mocks291 linesNo deps
Open the full page for this primitive

Radio Card Group

Plans and shipping methods as cards, built on real radio inputs so the arrow keys, "2 of 3" and form submission are the browser's — with selection drawn as a tick, not only a colour.

Selection135 linesNo deps
Open the full page for this primitive

Progress Steps

An ordered list in a nav, not a row of divs — so the count and the position come free, and aria-current names the step you are on. Horizontal and vertical, because four labels do not fit on a phone.

Navigation & Steps145 lines1 dep

Effects70

See all →

Outer border with an inset rule that pulls further in on hover, so the frame breathes without the box itself resizing.

A dashed box over a solid one offset behind it; on hover the two close the gap, so the whole thing reads as pressing down.

Four repeating gradients as edges rather than a dashed border, which is the only way to animate the dashes travelling around the box.

Instant-photo mount tilted off-axis that straightens and develops on hover, the caption in monospace on the wide bottom margin.

Superellipse approximated with a 28-point clip-path, which holds its continuous curvature under scale in a way a border-radius corner visibly does not.

Five circles sharing a centre at even yaw offsets, which reads as a meridian cage once the whole group rotates — no sphere primitive required.

Questions about device mockups and frames

Should the frame be visible to a screen reader?
No — mark it `aria-hidden` and let the screenshot inside carry the alt text. A decorative chrome announced as "browser window" adds noise to every hero on the page.
Do these fake a specific device?
They are generic on purpose: rounded bodies and neutral chrome rather than a recognisable manufacturer's hardware, which is a trademark and likeness question nobody needs on a marketing page.
Are these device mockups and frames free to use?
All 76 are free to copy and use in your own projects, including commercial ones. A Pro licence exists for redistribution — shipping them inside a product other people buy — and the full terms are on the licence page.
How do I add one to my project?
Install it with the CLI: `npx hoverlab add browser-frame` writes the component and its dependencies into your project. Every artifact here also has a copy button for the raw source, and an "Open in sandbox" link if you would rather try it first.
Why does this page mix components and whole pages?
Because the phrase does. The same search covers 70 CSS effects and 6 primitives — one of them is the right size for what you are building, and which one depends on how much of the screen you still have to write.