Customize
Installation
$ pnpm dlx shadcn@latest add @ogimagecn/minimal-brand
Usage
import { ImageResponse } from "next/og";
import { MinimalBrand } from "@/components/og/minimal-brand";export function GET() {
return new ImageResponse(
<MinimalBrand
brand="ogimagecn"
tagline="Open Graph images, built on Satori"
/>,
{ width: 1200, height: 630 }
);
}API Reference
MinimalBrand
| Prop | Type |
|---|---|
brand | string |
tagline | string |
logo | string |