# Shadcn Registry 2

A clean Open Graph image with a light background, logo, name, category, title, and dot-separated tags.

> 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="shadcn-registry-2" />

## Installation [#installation]

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

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

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

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

      <ComponentSource name="shadcn-registry-2" title="components/og/shadcn-registry-2.tsx" />

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

## Usage [#usage]

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

import { ShadcnRegistry2 } from "@/components/og/shadcn-registry-2";

export function GET() {
  return new ImageResponse(
    <ShadcnRegistry2
      name="PaceKit"
      category="GSAP"
      title="Animated components crafted for smooth interaction"
      items={["Reusable", "Scalable", "Composable"]}
    />,
    {
      width: 1200,
      height: 630,
    }
  );
}
```

## API Reference [#api-reference]

### ShadcnRegistry2 [#shadcnregistry2]

| Prop       | Type       |
| ---------- | ---------- |
| `name`     | `string`   |
| `category` | `string`   |
| `title`    | `string`   |
| `items`    | `string[]` |
| `logo`     | `string`   |
| `accent`   | `string`   |
