Installation
$ pnpm dlx shadcn@latest add @ogimagecn/shadcn-registry-3
Usage
import { ImageResponse } from "next/og";
import { ShadcnRegistry3 } from "@/components/og/shadcn-registry-3";
export function GET() {
return new ImageResponse(
<ShadcnRegistry3
title="Brand new uncommon components for your Next.js project. fast-growing freemium (Works with Shadcn CLI 3.0)"
credit="Design And Devloped By @Gxuri"
ghost="SKIPER"
/>,
{
width: 1200,
height: 630,
}
);
}API Reference
ShadcnRegistry3
| Prop | Type |
|---|---|
title | string |
credit | string |
ghost | string |
logo | string |
accent | string |