Installation
$ pnpm dlx shadcn@latest add @ogimagecn/changelog
Usage
import { ImageResponse } from "next/og";
import { Changelog } from "@/components/og/changelog";
export function GET() {
return new ImageResponse(
<Changelog
date="June 2026"
items={["New OG components", "Live previews", "One-line install"]}
title="What's new"
version="v2.0"
brand="ogimagecn"
/>,
{ width: 1200, height: 630 }
);
}API Reference
Changelog
| Prop | Type |
|---|---|
version | string |
date | string |
title | string |
items | string[] |
brand | string |
logo | string |