# Minimal brand Open Graph Image Template

A centered brand card with your logo, name, and tagline.

- Page: https://www.shadcn-ui-blocks.com/open-graph-images/minimal-brand
- Category: [Business](https://www.shadcn-ui-blocks.com/open-graph-images/business), Brand
- Theme: light, with light and dark renditions
- Preview PNG: https://www.shadcn-ui-blocks.com/open-graph-images/minimal-brand/preview

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/og-image-minimal-brand
```

The code is part of Pro and Team: the install needs an API key from either plan (https://www.shadcn-ui-blocks.com/docs/shadcn-cli).

Use the Minimal brand template as your default, site wide share card. It centers your logo mark, name, and tagline over a quiet rule and your domain, so any page without a more specific Open Graph image still shares with a clean, branded face. It is the template to reach for first: ship it at the app root, then let sections override it with the more specific cards in this collection.

## How it works

This template is a metadata image route for the Next.js App Router. The file exports `size`, `contentType`, and `alt` values plus a default async function that returns an `ImageResponse`. When a page is shared, satori converts the JSX into an SVG document, the runtime rasterizes that SVG into a 1200 by 630 PNG, and Next.js serves the result and wires the `og:image` and `twitter:image` tags into the page head automatically. Next.js applies the file to every route in its segment, and nested segments with their own opengraph image file win over it.

## Install

Install with the shadcn CLI using your Shadcn UI Blocks API key:

```bash
npx shadcn@latest add @shadcn-ui-blocks/og-image-minimal-brand
```

The file lands at `app/opengraph-image.tsx`, exactly where a site wide card belongs. You can also copy the code from this page straight into your project.

The card renders text with Inter, read from `assets/fonts` at your project root with `node:fs` so the font files never ship to the browser. Download the latin woff files for weights 400, 500, 600, and 700 from [Fontsource](https://fontsource.org/fonts/inter) and save them as `assets/fonts/inter-latin-400-normal.woff` and so on.

## Customize

The `content` object holds the brand name, tagline, and domain. Swap the drawn logo square for your real mark by replacing that div with an inline `svg` or an `img` with an absolute URL. For a dark variant, flip the background to `#09090b`, the text to `#fafafa`, and the muted tones one step lighter; the layout needs no other changes. Taglines read best under about 90 characters so they hold to two centered lines.

satori supports a focused subset of CSS: flexbox layout only, flat colors, and an explicit `display: flex` on any element with multiple children. Keep those rules in mind if you rework the layout.
