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.
73
Sponsor

Shadcn Registry 6

A minimal Open Graph image with solid border lines, a logo in the top-left, and title/description at the bottom.

Customize

Installation

$ pnpm dlx shadcn@latest add @ogimagecn/shadcn-registry-6

Usage

import { ImageResponse } from "next/og";
 
import { ShadcnRegistry6 } from "@/components/og/shadcn-registry-6";
 
export function GET() {
  return new ImageResponse(
    <ShadcnRegistry6
      title="Build your own OG images"
      description="Composable components powered by Satori and the next/og runtime."
      brand="ogimagecn"
    />,
    {
      width: 1200,
      height: 630,
    }
  );
}

API Reference

ShadcnRegistry6

PropType
titlestring
descriptionstring
brandstring
logostring