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.
/
292
Sponsor

Recipe

A recipe Open Graph image with a brand row, dish title, short description, and time and servings chips.

Customize

Installation

$ pnpm dlx shadcn@latest add @ogimagecn/recipe

Usage

import { ImageResponse } from "next/og";
 
import { Recipe } from "@/components/og/recipe";
export function GET() {
  return new ImageResponse(
    <Recipe
      title="One-pot tomato basil pasta"
      description="Blistered tomatoes, garlic, and basil tossed with bucatini in one pan."
      duration="25 min"
      servings="Serves 4"
      brand="ogimagecn"
    />,
    { width: 1200, height: 630 }
  );
}

API Reference

Recipe

PropType
titlestring
descriptionstring
durationstring
servingsstring
brandstring
logostring