For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
0
Sponsor

Grid

A framed, technical Open Graph image with a dashed border grid and a corner brand mark.

Build your own OG images
Composable components powered by Satori and the next/og runtime.
O
ogimagecn

Installation

$ pnpm dlx shadcn@latest add https://ogimagecn.vercel.app/r/grid.json

Usage

import { ImageResponse } from "next/og";
 
import { Grid } from "@/components/og/grid";
 
export function GET() {
  return new ImageResponse(<Grid title="Build your own OG images" />, {
    width: 1200,
    height: 630,
  });
}

API Reference

Grid

PropTypeDefault
titlestring-
descriptionstring-
brandstring-
accentstring-