# Editorial

A poster-style Open Graph image with oversized display type and a large faint ghost word set behind the content.

> For the complete documentation index, see [llms.txt](/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](/.well-known/agent-skills/site-skill.md).





<ComponentPreview>
  <Editorial />
</ComponentPreview>

## Installation [#installation]

<CodeTabs>
  <TabsList>
    <TabsTrigger value="cli">
      Command
    </TabsTrigger>

    <TabsTrigger value="manual">
      Manual
    </TabsTrigger>
  </TabsList>

  <TabsContent value="cli">
    ```bash
    npx shadcn@latest add https://ogimagecn.vercel.app/r/editorial.json
    ```
  </TabsContent>

  <TabsContent value="manual">
    <Steps>
      <Step>
        Copy and paste the following code into your project.
      </Step>

      <ComponentSource name="editorial" title="components/og/editorial.tsx" />

      <Step>
        Update the import paths to match your project setup.
      </Step>
    </Steps>
  </TabsContent>
</CodeTabs>

## Usage [#usage]

```tsx
import { ImageResponse } from "next/og";

import { Editorial } from "@/components/og/editorial";

export function GET() {
  return new ImageResponse(
    <Editorial
      kicker="Feature"
      title="Designing at the edge of the canvas"
      author="The OG Times"
      meta="Issue 04"
    />,
    { width: 1200, height: 630 }
  );
}
```

## API Reference [#api-reference]

### Editorial [#editorial]

| Prop     | Type     | Default |
| -------- | -------- | ------- |
| `kicker` | `string` | `-`     |
| `title`  | `string` | `-`     |
| `author` | `string` | `-`     |
| `meta`   | `string` | `-`     |
| `ghost`  | `string` | `-`     |
| `accent` | `string` | `-`     |
