# Simple

A minimal, centered Open Graph image with an eyebrow label, title, description, and brand mark.

> 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 name="simple" />

## Installation [#installation]

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

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

  <TabsContent value="cli">
    ```bash
    npx shadcn@latest add @ogimagecn/simple
    ```
  </TabsContent>

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

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

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

## Usage [#usage]

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

import { Simple } from "@/components/og/simple";

export function GET() {
  return new ImageResponse(
    <Simple
      label="Open Graph"
      title="Hello world"
      description="A shadcn registry of social card components."
      brand="ogimagecn"
    />,
    {
      width: 1200,
      height: 630,
    }
  );
}
```

## API Reference [#api-reference]

### Simple [#simple]

| Prop          | Type     |
| ------------- | -------- |
| `label`       | `string` |
| `title`       | `string` |
| `description` | `string` |
| `brand`       | `string` |
| `logo`        | `string` |
