# Device mockup OG image template

A screenshot inside a CSS-drawn phone, tablet, laptop or browser window, tilted on a long soft shadow, with the headline beside it.

- Slug: `device-mockup`
- Preview (real render): https://shareglint.com/storage/template-previews/device-mockup.jpg
- Page: https://shareglint.com/en/templates/device-mockup

For SaaS and app marketing, launches and changelog posts that show the product itself. Pick the frame with `device`; a `second_screenshot` adds a phone in front of a tablet or laptop, a second phone behind the first or a second window behind the browser. Without a screenshot the screen shows a drawn app in your accent colour, without a logo the product name gets a monogram, and a long headline shrinks to fit. Wide frames put the headline on the left and the device on the right; square and vertical frames put the headline on top and give the device the rest, with the tablet standing upright in vertical frames.

## Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

| Field | Type | Description | Example |
|---|---|---|---|
| `headline` | text | The main line, next to or above the device. (default: Your product, in a frame) | Every render, queue and cache hit on one dashboard |
| `subheadline` | text | One or two sentences under the headline; long text ends in an ellipsis after three lines. | Northwind Studio shows what your templates cost and how fast they render, live. |
| `product` | text | Product name next to the logo above the headline. | Northwind Studio |
| `device` | text | Frame around the screenshot: phone, tablet, laptop or browser. (default: laptop) | laptop |
| `background` | text | Card background as hex, e.g. #1e1b4b; text switches to black or white to stay readable. Empty keeps the theme background. | #1e1b4b |
| `screenshot` | image URL | The screenshot shown on the device; it covers the screen from its top edge. | https://example.com/images/dashboard.png |
| `second_screenshot` | image URL | Optional second screen: a phone in front of a tablet or laptop, a second phone or a second browser window. | https://example.com/images/phone-app.png |
| `logo` | image URL | Product logo, square. | https://example.com/images/logo-northwind.png |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #818cf8) | #818cf8 |
| `theme` | dark | light | Colour scheme: dark or light. | — |

## Render it with one request

```bash
curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "device-mockup",
    "modifications": {
        "headline": "Every render, queue and cache hit on one dashboard",
        "subheadline": "Northwind Studio shows what your templates cost and how fast they render, live.",
        "product": "Northwind Studio",
        "device": "laptop",
        "background": "#1e1b4b",
        "screenshot": "https://example.com/images/dashboard.png",
        "second_screenshot": "https://example.com/images/phone-app.png",
        "logo": "https://example.com/images/logo-northwind.png"
    }
}'
```

## Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

```bash
curl -X POST "https://shareglint.com/v1/templates/library/device-mockup/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
