# Profile

A personal / portfolio Open Graph image with a circular avatar beside a name, role, bio, and website pill.

> 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>
  <Profile />
</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/profile.json
    ```
  </TabsContent>

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

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

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

## Usage [#usage]

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

import { Profile } from "@/components/og/profile";

export function GET() {
  return new ImageResponse(
    <Profile
      name="Ada Lovelace"
      role="Founder & Engineer"
      website="ada.dev"
      avatar="https://example.com/avatar.png"
    />,
    { width: 1200, height: 630 }
  );
}
```

## API Reference [#api-reference]

### Profile [#profile]

| Prop      | Type     | Default |
| --------- | -------- | ------- |
| `name`    | `string` | `-`     |
| `role`    | `string` | `-`     |
| `bio`     | `string` | `-`     |
| `avatar`  | `string` | `-`     |
| `website` | `string` | `-`     |
| `accent`  | `string` | `-`     |
