# Introduction
Copy-paste Open Graph image components for React. Built on Satori, works with the shadcn CLI.
> 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).
**ogimagecn** provides beautifully designed, customizable Open Graph image components. Built on [Satori](https://github.com/vercel/satori), and designed to work seamlessly with the [shadcn CLI](https://ui.shadcn.com).
Install a **block** — a ready-made Open Graph image — with the shadcn CLI, drop
it into an `ImageResponse`, and you have a polished social card in minutes —
fully owned, fully editable code. Blocks are composed from a small set of
Satori-safe **components** (avatar, badge, brand mark, grid lines) that you can
also use to build your own.
## Philosophy [#philosophy]
ogimagecn follows the shadcn model for social images: copy-paste components you can own, with zero lock-in and sensible defaults that work immediately.
Open Graph images are often treated as an afterthought — a one-off template hand-tuned until Satori stops complaining, then never touched again. ogimagecn takes a different approach. Every component is written in the Satori-compatible subset of CSS, flexbox and inline styles only, so the same code renders as a PNG on the server and as a live DOM preview in the browser. What you see in the gallery is what Satori produces.
The goal is simple: make social cards feel like the rest of your stack — composable, typed, and easy to customize.
## Why ogimagecn? [#why-ogimagecn]
Most OG image setups are either a single hard-coded template or a hosted service you do not control. ogimagecn is built for teams that want polished cards without giving up the code:
* **Own Your Code:** Copy the components into your project and customize everything.
* **Start Fast:** Run one command, return an `ImageResponse`, and ship your first card.
* **Check Before You Share:** Use [Scan](/scan) to see how your card lands on each platform before you post the link.
## Features [#features]
# Installation
Install an ogimagecn block from the registry and render it with next/og.
> 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).
## Prerequisites [#prerequisites]
A [Next.js](https://nextjs.org) App Router project. Components render through [`next/og`](https://nextjs.org/docs/app/api-reference/functions/image-response), which ships with Next.js.
## Installation [#installation]
Pick a block from the [gallery](/docs/blocks) and add it with the shadcn CLI.
The block is copied into your project at `components/og/.tsx`, together
with the [components](/docs/components) it uses.
```bash
npx shadcn@latest add @ogimagecn/simple
```
The `simple` block is copied into `components/og/simple.tsx`, and the CLI pulls in the components it depends on automatically — there is nothing else to install.
## Usage [#usage]
Import the installed block and return it from a route handler as an `ImageResponse`:
```tsx title="app/og/route.tsx"
import { ImageResponse } from "next/og";
import { Simple } from "@/components/og/simple";
export function GET(request: Request) {
const { searchParams } = new URL(request.url);
return new ImageResponse(
,
{ height: 630, width: 1200 }
);
}
```
Every component documents its props on its own page; the [customizer](/docs/components) shows each one live.
## Add to Metadata [#add-to-metadata]
Point your page's Open Graph and Twitter metadata at the route:
```tsx title="app/page.tsx"
import type { Metadata } from "next";
export const metadata: Metadata = {
openGraph: {
images: ["/og?title=Hello%20world"],
},
twitter: {
card: "summary_large_image",
images: ["/og?title=Hello%20world"],
},
};
```
Then run the deployed URL through [Scan](/scan) to see the card each platform will build from it.
## Custom Fonts [#custom-fonts]
Satori uses the first font you pass as the default. Load the font file and hand it to `ImageResponse`:
```tsx title="app/og/route.tsx"
import { ImageResponse } from "next/og";
import { Simple } from "@/components/og/simple";
export async function GET() {
const font = await fetch(
new URL("./Inter-SemiBold.ttf", import.meta.url)
).then((res) => res.arrayBuffer());
return new ImageResponse(
,
{
fonts: [{ data: font, name: "Inter", style: "normal", weight: 600 }],
height: 630,
width: 1200,
}
);
}
```
# MCP
Learn how to use the shadcn MCP (Model Context Protocol) server with ogimagecn.
> 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).
[MCP](https://modelcontextprotocol.io/) is an open protocol that standardizes how applications provide context to LLMs. The shadcn CLI can register an MCP server so your editor can discover registry components—including items you install from **ogimagecn** via the same CLI.
## Configure MCP [#configure-mcp]
Run:
```bash
npx shadcn@latest mcp init
```
Choose your MCP client when prompted, then enable the MCP server in that client to finish setup.
## Usage [#usage]
With MCP enabled, you can ask your IDE to work with **Satori** patterns and ogimagecn registry components. Example prompts:
* Generate a **Blog** OG image with category, author, and excerpt for every post.
* Create a **Changelog** card listing the highlights of a release.
* Build a **Product** OG image with a product shot and price.
* Turn a testimonial into a **Quote** card with the author row.
* Make a **Stat** card with a large number, trend pill, and caption.
Install components from this registry with `npx shadcn@latest add` and the JSON URL from each docs page. Components work with sensible defaults.
# Registry
Learn how to use the ogimagecn registry with the shadcn CLI.
> 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).
The **ogimagecn** registry ships Open Graph image blocks and the components they are built from in the [shadcn registry format](https://ui.shadcn.com/docs/registry). Register the namespace once in `components.json`, then pull items by name with the CLI.
## Setup [#setup]
Add a **registries** entry for this site. See the [shadcn registry documentation](https://ui.shadcn.com/docs/registry) for all `components.json` fields and behaviors.
```json
{
"registries": {
"@ogimagecn": "https://ogimagecn.com/r/{name}.json"
}
}
```
You can replace `@ogimagecn` with another namespace; it only needs to match what you pass to `shadcn add`.
## Usage [#usage]
Items are addressed by the item `name`, the same as the JSON file under `/r/` without `.json`.
Registry files follow this destination:
* Blocks and components install into `components/og/`.
Blocks list the components they use as `registryDependencies`, so the CLI installs those too:
```bash
npx shadcn@latest add @ogimagecn/blog
```
Without a registry alias, use the full URL (as on each docs page):
```bash
npx shadcn@latest add https://ogimagecn.com/r/blog.json
```
# Avatar
A circular avatar image with an initials fallback.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/avatar
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { Avatar } from "@/components/og/avatar";
```
```tsx
```
## API Reference [#api-reference]
| Prop | Type | Default |
| ------------ | --------------- | ----------- |
| `name` | `string` | — |
| `src` | `string` | — |
| `size` | `number` | `72` |
| `background` | `string` | `"#7c3aed"` |
| `color` | `string` | `"#ffffff"` |
| `style` | `CSSProperties` | — |
# Badge
A pill label with color, background, border, and uppercase options.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/badge
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { Badge } from "@/components/og/badge";
```
```tsx
Engineering
```
## API Reference [#api-reference]
| Prop | Type | Default |
| ------------- | --------------- | ------- |
| `children` | `ReactNode` | — |
| `color` | `string` | — |
| `background` | `string` | — |
| `borderColor` | `string` | — |
| `uppercase` | `boolean` | `false` |
| `style` | `CSSProperties` | — |
# Brand Mark
A logo image with a placeholder tile fallback for monograms or icons.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/brand-mark
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { BrandMark } from "@/components/og/brand-mark";
```
```tsx
A
```
## API Reference [#api-reference]
| Prop | Type | Default |
| ------------ | ---------------------- | ----------- |
| `src` | `string` | — |
| `size` | `number` | `40` |
| `radius` | `number \| string` | `8` |
| `background` | `string` | — |
| `fit` | `"contain" \| "cover"` | `"contain"` |
| `children` | `ReactNode` | — |
| `style` | `CSSProperties` | — |
# Divider
A solid or dashed rule with an optional centered label.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/divider
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { Divider } from "@/components/og/divider";
```
```tsx
```
Omit `label` for a single full-width rule. Use `thickness` to set the line width in pixels.
## API Reference [#api-reference]
| Prop | Type | Default |
| ----------- | --------------------- | ----------- |
| `variant` | `"solid" \| "dashed"` | `"solid"` |
| `color` | `string` | `"#71717a"` |
| `label` | `string` | — |
| `thickness` | `number` | `1` |
# Grid Lines
Four edge-to-edge guide lines that frame the canvas.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/grid-lines
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { GridLines } from "@/components/og/grid-lines";
```
```tsx
{/* content */}
```
## API Reference [#api-reference]
| Prop | Type | Default |
| --------- | --------------------- | ----------- |
| `inset` | `number` | `64` |
| `color` | `string` | `"#44403c"` |
| `variant` | `"solid" \| "dashed"` | `"dashed"` |
# Components
Here you can find all the OG image components available in the library.
> 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).
# Waveform
A vertically centered audio waveform for Open Graph images.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/waveform
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { Waveform } from "@/components/og/waveform";
```
```tsx
```
Pass normalized amplitudes in the order they should appear. Values outside 0–1 are clamped, negative values use their magnitude, and invalid numbers render as minimum-height bars. The waveform fills its parent's width, so give the parent an explicit width when rendering with Satori. An empty array renders an empty row.
## API Reference [#api-reference]
| Prop | Type | Default |
| ------------ | ---------- | --------- |
| `amplitudes` | `number[]` | — |
| `color` | `string` | `#a78bfa` |
| `height` | `number` | `96` |
| `gap` | `number` | `4` |
# June 5, 2026 - Initial Release
6 OG image components for beautiful social cards.
> 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).
We shipped the initial release of ogimagecn with 6 OG image components.
# June 8, 2026 - More Components
8 new OG image components.
> 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).
We added 8 new OG image components.
# June 10, 2026 - Shiori and Owner
2 new minimal OG image components.
> 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).
We added 2 new minimal OG image components.
# June 23, 2026 - Shadcn Registry Components
6 new OG image components for shadcn registries.
> 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).
We added 6 new OG image components designed specifically for shadcn registries.
# September 17, 2026 - Scan
Check how a link unfurls before you post it.
> 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).
We added [Scan](/scan). Paste a URL and see the card the way each platform will
draw it, alongside anything worth fixing.
The previews are X, Facebook, LinkedIn, Slack and Discord, because each frames a
shared link differently and a card that reads well in one can read badly in
another. Under them is a plain list of what to change: a missing `twitter:card`
so X shrinks the image to a square, absent `og:image:width`, an image that
redirects, a file heavy enough that some platforms refuse it.
Every check is a real request made as that crawler, so the answer is what those
services will actually get rather than a cached third party result.
We also fixed `Showcase`, which threw when its optional `accent` prop was left
out. The documented example renders again.
Both contributed by [@bhaumikmistry](https://github.com/bhaumikmistry).
# September 19, 2026 - Notion and Bluesky Previews
Scan now shows how your link looks on Notion and Bluesky.
> 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).
[Scan](/scan) now includes **Notion** and **Bluesky** alongside X, Facebook,
LinkedIn, Slack and Discord. Paste a URL and see exactly how the card renders
on each platform before you share it.
Both contributed by [@mateuscmtropical](https://github.com/mateuscmtropical).
# September 21, 2026 - Six Platform Pages
Scan now shows how your link looks on Google, Microsoft Teams, Reddit and Instagram, and Bluesky and Notion get pages of their own.
> 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).
Six platforms got a page of their own in [Scan](/scan) today, each showing a
single preview instead of the full wall of cards, with the checks, the findings
and enough writing about that platform to be worth landing on from a search.
Four of them are new to Scan:
* [Google](/scan/google) — the search result built from the title tag and meta
description rather than the Open Graph pair, contributed by
[@kuldeeepy](https://github.com/kuldeeepy).
* [Microsoft Teams](/scan/teams) — the card under the message, one of the few
surfaces that shows `og:site_name`, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
* [Reddit](/scan/reddit) — the feed tile, where the headline is the
submitter's and only the image is yours, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
* [Instagram](/scan/instagram) — the DM bubble, the only place an Instagram
link unfurls at all, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
The other two, added on September 19, now have pages too:
* [Bluesky](/scan/bluesky) — the card attached to a post at compose time,
contributed by [@MayurK-cmd](https://github.com/MayurK-cmd).
* [Notion](/scan/notion) — the bookmark block, text first with the image as a
thumbnail on the right, contributed by
[@AbhinRustagi](https://github.com/AbhinRustagi).
# September 22, 2026 - Mastodon, Snapchat and Signal Previews
Scan now shows how your link looks on Mastodon, Snapchat and Signal.
> 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).
Three more platforms joined [Scan](/scan) today, each with its own page showing
a single preview instead of the full wall of cards, with the checks, the
findings and enough writing about that platform to be worth landing on from a
search:
* [Mastodon](/scan/mastodon) — the expanded-link card, image above provider,
two-line title and clipped description, contributed by
[@vansh-nagar](https://github.com/vansh-nagar).
* [Snapchat](/scan/snapchat) — the chat card, full-width image with title and
domain in a rounded bubble, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
* [Signal](/scan/signal) — the chat-style card with image, title, description
and hostname, contributed by
[@mdsahilnoob](https://github.com/mdsahilnoob).
# September 23, 2026 - Blocks and Components
The OG images are now blocks, built from new Satori-safe components.
> 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).
The Open Graph image components you knew are now **[blocks](/docs/blocks)**,
built from new **[components](/docs/components)**.
# September 23, 2026 - Eight More Platform Pages
Scan now shows how your link looks on Threads, LINE, Google Chat, TikTok, WeChat, iMessage, Tumblr and Nextdoor.
> 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).
Eight more platforms joined [Scan](/scan) today, each with its own page showing
a single preview instead of the full wall of cards, with the checks, the
findings and enough writing about that platform to be worth landing on from a
search:
* [Threads](/scan/threads) — the card under a post, image on top with the
domain and title below.
* [LINE](/scan/line) — the chat bubble, full-width image over a bold title, one
line of description and the domain.
* [Google Chat](/scan/google-chat) — the small card under the message, title
and description beside a thumbnail.
* [TikTok](/scan/tiktok) — the compact in-app card for DMs and comments, a small
thumbnail beside the title and domain.
* [WeChat](/scan/wechat) — the chat card, title across the top with the
description and a square thumbnail beneath.
* [iMessage](/scan/imessage) — the rounded link bubble, image filling the top
and the title over the site name.
* [Tumblr](/scan/tumblr) — the dashboard link post, image above the title,
description and domain.
* [Nextdoor](/scan/nextdoor) — the post link card, large image above the title,
description and domain.
All eight were contributed by [@MayurK-cmd](https://github.com/MayurK-cmd).
# September 28, 2026 - Shadcn and Prompt Install Tabs
Install command blocks gained shadcn CLI and agent prompt tabs.
> 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).
Install command blocks now offer **shadcn** and **prompt** tabs alongside the
package manager commands, so you can copy a `shadcn` CLI command or a
ready-made agent prompt for any component, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
# September 28, 2026 - Scan Redirect Fix
Scan now resolves preview assets after redirects.
> 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).
[Scan](/scan) now resolves relative preview assets after redirects, so pages
that bounce through a redirect still show the right images, contributed by
[@SriVishnu230707](https://github.com/SriVishnu230707).
# October 2, 2026 - Divider Component
A new Satori-safe divider component with an optional label.
> 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).
We added a [Divider](/docs/components/divider) component: a solid or dashed
rule with an optional centered label and adjustable thickness, contributed by
[@SriVishnu230707](https://github.com/SriVishnu230707).
# October 3, 2026 - Playground
Customize any OG block live, then export JSX, PNG, or an install command.
> 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).
We added a [Playground](/playground). Pick any block, tweak every prop with a
live Satori preview, then copy the JSX, save the PNG, or grab the install
command for your package manager, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
# Changelog
Latest updates and announcements for ogimagecn.
> 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).
## October 3, 2026 - Playground [#october-3-2026---playground]
We added a [Playground](/playground). Pick any block, tweak every prop with a
live Satori preview, then copy the JSX, save the PNG, or grab the install
command for your package manager, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
## October 2, 2026 - Divider Component [#october-2-2026---divider-component]
We added a [Divider](/docs/components/divider) component: a solid or dashed
rule with an optional centered label and adjustable thickness, contributed by
[@SriVishnu230707](https://github.com/SriVishnu230707).
## September 28, 2026 - Shadcn and Prompt Install Tabs [#september-28-2026---shadcn-and-prompt-install-tabs]
Install command blocks now offer **shadcn** and **prompt** tabs alongside the
package manager commands, so you can copy a `shadcn` CLI command or a
ready-made agent prompt for any component, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
## September 28, 2026 - Scan Redirect Fix [#september-28-2026---scan-redirect-fix]
[Scan](/scan) now resolves relative preview assets after redirects, so pages
that bounce through a redirect still show the right images, contributed by
[@SriVishnu230707](https://github.com/SriVishnu230707).
## September 23, 2026 - Blocks and Components [#september-23-2026---blocks-and-components]
The Open Graph image components you knew are now **[blocks](/docs/blocks)**,
built from new Satori-safe **[components](/docs/components)**.
## September 23, 2026 - Eight More Platform Pages [#september-23-2026---eight-more-platform-pages]
[Scan](/scan) gained pages for Threads, LINE, Google Chat, TikTok, WeChat,
iMessage, Tumblr and Nextdoor, contributed by
[@MayurK-cmd](https://github.com/MayurK-cmd).
## September 22, 2026 - Mastodon, Snapchat and Signal Previews [#september-22-2026---mastodon-snapchat-and-signal-previews]
[Scan](/scan) now shows how your link looks on Mastodon, Snapchat and Signal,
contributed by [@vansh-nagar](https://github.com/vansh-nagar),
[@MayurK-cmd](https://github.com/MayurK-cmd) and
[@mdsahilnoob](https://github.com/mdsahilnoob).
## September 21, 2026 - Six Platform Pages [#september-21-2026---six-platform-pages]
[Scan](/scan) gave Google, Microsoft Teams, Reddit, Instagram, Bluesky and
Notion a page of their own, each showing a single preview instead of the full
wall of cards, contributed by [@kuldeeepy](https://github.com/kuldeeepy),
[@MayurK-cmd](https://github.com/MayurK-cmd) and
[@AbhinRustagi](https://github.com/AbhinRustagi).
## September 19, 2026 - Notion and Bluesky Previews [#september-19-2026---notion-and-bluesky-previews]
[Scan](/scan) now includes **Notion** and **Bluesky** alongside X, Facebook,
LinkedIn, Slack and Discord. Paste a URL and see exactly how the card renders
on each platform before you share it.
Both contributed by [@mateuscmtropical](https://github.com/mateuscmtropical).
## September 17, 2026 - Scan [#september-17-2026---scan]
We added [Scan](/scan). Paste a URL and see the card the way each platform will
draw it, alongside anything worth fixing.
We also fixed `Showcase`, which threw when its optional `accent` prop was left
out.
Both contributed by [@bhaumikmistry](https://github.com/bhaumikmistry).
## June 23, 2026 - Shadcn Registry Components [#june-23-2026---shadcn-registry-components]
We added 6 new OG image components designed specifically for shadcn registries.
## June 10, 2026 - Shiori and Owner [#june-10-2026---shiori-and-owner]
We added 2 new minimal OG image components.
## June 8, 2026 - More Components [#june-8-2026---more-components]
We added 8 new OG image components.
## June 5, 2026 - Initial Release [#june-5-2026---initial-release]
We shipped the initial release of ogimagecn with 6 OG image components.
Follow [ogimagecn on GitHub](https://github.com/shadcn-labs/ogimagecn) for source history and future tagged releases.
# Blocks
Here you can find all the OG image blocks available in the library.
> 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).
## Brand [#brand]
## Content [#content]
## Product [#product]
## Shadcn Registry [#shadcn-registry]
# Brand
Open Graph images for brands, profiles, portfolios, and personal sites.
> 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).
# Owner
A clean Open Graph image with a light background, eyebrow text, bold headline, and three rounded photos at the bottom.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/owner
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Owner } from "@/components/og/owner";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Owner [#owner]
| Prop | Type |
| --------- | ---------- |
| `eyebrow` | `string` |
| `title` | `string` |
| `brand` | `string` |
| `images` | `string[]` |
| `logo` | `string` |
# Shiori
A clean, minimal Open Graph image with a light cream background, a circular logo, and a bold brand beside a muted title.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/shiori
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Shiori } from "@/components/og/shiori";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Shiori [#shiori]
| Prop | Type |
| ------------ | -------- |
| `title` | `string` |
| `background` | `string` |
| `titleColor` | `string` |
| `logo` | `string` |
| `brand` | `string` |
| `brandColor` | `string` |
# Blog
An article Open Graph image with a category badge, headline, excerpt, and author row.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/blog
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Blog } from "@/components/og/blog";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Blog [#blog]
| Prop | Type |
| ---------- | -------- |
| `category` | `string` |
| `title` | `string` |
| `excerpt` | `string` |
| `author` | `string` |
| `meta` | `string` |
| `avatar` | `string` |
| `brand` | `string` |
| `logo` | `string` |
# 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/editorial
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Editorial } from "@/components/og/editorial";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Editorial [#editorial]
| Prop | Type |
| -------- | -------- |
| `kicker` | `string` |
| `title` | `string` |
| `meta` | `string` |
| `ghost` | `string` |
| `brand` | `string` |
| `logo` | `string` |
# Grid
A framed, technical Open Graph image with a dashed border grid and a corner 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/grid
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Grid } from "@/components/og/grid";
```
```tsx
export function GET() {
return new ImageResponse(
,
{
width: 1200,
height: 630,
}
);
}
```
## API Reference [#api-reference]
### Grid [#grid]
| Prop | Type |
| ------------- | -------- |
| `title` | `string` |
| `description` | `string` |
| `brand` | `string` |
| `logo` | `string` |
# Content
Open Graph images for articles, editorials, photography, quotes, technical content, and data.
> 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).
# Photo
A full-bleed photo Open Graph image with a dark gradient scrim and a bottom-aligned title block.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/photo
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Photo } from "@/components/og/photo";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Photo [#photo]
| Prop | Type |
| ------- | -------- |
| `image` | `string` |
| `label` | `string` |
| `title` | `string` |
| `brand` | `string` |
| `logo` | `string` |
# 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/profile
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Profile } from "@/components/og/profile";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Profile [#profile]
| Prop | Type |
| --------- | -------- |
| `name` | `string` |
| `role` | `string` |
| `bio` | `string` |
| `avatar` | `string` |
| `website` | `string` |
# Quote
A testimonial / tweet-style Open Graph image with a large quote and an author row.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/quote
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Quote } from "@/components/og/quote";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Quote [#quote]
| Prop | Type |
| -------- | -------- |
| `quote` | `string` |
| `author` | `string` |
| `handle` | `string` |
| `avatar` | `string` |
# Recipe
A recipe Open Graph image with a brand row, dish title, short description, and time and servings chips.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/recipe
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Recipe } from "@/components/og/recipe";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Recipe [#recipe]
| Prop | Type |
| ------------- | -------- |
| `title` | `string` |
| `description` | `string` |
| `duration` | `string` |
| `servings` | `string` |
| `brand` | `string` |
| `logo` | `string` |
# Stat
A metric / dashboard Open Graph image with an eyebrow label, an oversized number, a trend pill, and a caption.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/stat
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Stat } from "@/components/og/stat";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Stat [#stat]
| Prop | Type |
| --------- | -------- |
| `label` | `string` |
| `value` | `string` |
| `caption` | `string` |
| `trend` | `string` |
| `brand` | `string` |
| `logo` | `string` |
# Terminal
A minimal, technical Open Graph image with a wordmark and accent side-bar above a large wide-tracked uppercase headline.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/terminal
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Terminal } from "@/components/og/terminal";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Terminal [#terminal]
| Prop | Type |
| --------- | -------- |
| `brand` | `string` |
| `title` | `string` |
| `caption` | `string` |
| `logo` | `string` |
# Changelog
A release Open Graph image with a version pill, date, title, and a checklist of highlights.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/changelog
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Changelog } from "@/components/og/changelog";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Changelog [#changelog]
| Prop | Type |
| --------- | ---------- |
| `version` | `string` |
| `date` | `string` |
| `title` | `string` |
| `items` | `string[]` |
| `brand` | `string` |
| `logo` | `string` |
# Event
An event / launch Open Graph image with an eyebrow label, large title, and a date · location footer row.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/event
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Event } from "@/components/og/event";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Event [#event]
| Prop | Type |
| ---------- | -------- |
| `label` | `string` |
| `brand` | `string` |
| `title` | `string` |
| `date` | `string` |
| `location` | `string` |
| `logo` | `string` |
# Product
Open Graph images for product announcements, launches, events, and showcases.
> 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).
# Logo
A centered brand Open Graph image with a logo tile, a large wordmark, and an optional tagline on a soft gradient field.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/logo
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Logo } from "@/components/og/logo";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Logo [#logo]
| Prop | Type |
| ------------ | -------- |
| `brand` | `string` |
| `tagline` | `string` |
| `monogram` | `string` |
| `background` | `string` |
| `logo` | `string` |
# Product
A two-column product Open Graph image with brand and copy on the left, a product shot on the right, and a price 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/product
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Product } from "@/components/og/product";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Product [#product]
| Prop | Type |
| ------------- | -------- |
| `brand` | `string` |
| `title` | `string` |
| `description` | `string` |
| `price` | `string` |
| `image` | `string` |
| `logo` | `string` |
# Showcase
A product-showcase Open Graph image with a centered headline above a faux browser window and a minimal dashboard UI.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/showcase
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Showcase } from "@/components/og/showcase";
```
```tsx
export function GET() {
return new ImageResponse(
,
{ width: 1200, height: 630 }
);
}
```
## API Reference [#api-reference]
### Showcase [#showcase]
| Prop | Type |
| ---------- | -------- |
| `title` | `string` |
| `subtitle` | `string` |
| `url` | `string` |
| `accent` | `string` |
# 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/simple
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { Simple } from "@/components/og/simple";
```
```tsx
export function GET() {
return new ImageResponse(
,
{
width: 1200,
height: 630,
}
);
}
```
## API Reference [#api-reference]
### Simple [#simple]
| Prop | Type |
| ------------- | -------- |
| `label` | `string` |
| `title` | `string` |
| `description` | `string` |
| `brand` | `string` |
| `logo` | `string` |
# Shadcn Registry 1
A showcase Open Graph image for shadcn registries with logo, name, URL, description, and tag badges.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/shadcn-registry-1
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { ShadcnRegistry1 } from "@/components/og/shadcn-registry-1";
```
```tsx
export function GET() {
return new ImageResponse(
,
{
width: 1200,
height: 630,
}
);
}
```
## API Reference [#api-reference]
### ShadcnRegistry1 [#shadcnregistry1]
| Prop | Type |
| ------------- | ---------- |
| `name` | `string` |
| `url` | `string` |
| `description` | `string` |
| `logo` | `string` |
| `items` | `string[]` |
# 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/shadcn-registry-2
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { ShadcnRegistry2 } from "@/components/og/shadcn-registry-2";
```
```tsx
export function GET() {
return new ImageResponse(
,
{
width: 1200,
height: 630,
}
);
}
```
## API Reference [#api-reference]
### ShadcnRegistry2 [#shadcnregistry2]
| Prop | Type |
| ---------- | ---------- |
| `name` | `string` |
| `category` | `string` |
| `title` | `string` |
| `items` | `string[]` |
| `logo` | `string` |
| `accent` | `string` |
# Shadcn Registry 3
A bold dark Open Graph image with large title, circular badge, ghost watermark, and credit text.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/shadcn-registry-3
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { ShadcnRegistry3 } from "@/components/og/shadcn-registry-3";
```
```tsx
export function GET() {
return new ImageResponse(
,
{
width: 1200,
height: 630,
}
);
}
```
## API Reference [#api-reference]
### ShadcnRegistry3 [#shadcnregistry3]
| Prop | Type |
| -------- | -------- |
| `title` | `string` |
| `credit` | `string` |
| `ghost` | `string` |
| `logo` | `string` |
| `accent` | `string` |
# Shadcn Registry 4
A centered dark Open Graph image with logo, name, title, and URL on a subtle dot pattern background.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/shadcn-registry-4
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { ShadcnRegistry4 } from "@/components/og/shadcn-registry-4";
```
```tsx
export function GET() {
return new ImageResponse(
,
{
width: 1200,
height: 630,
}
);
}
```
## API Reference [#api-reference]
### ShadcnRegistry4 [#shadcnregistry4]
| Prop | Type |
| -------- | -------- |
| `name` | `string` |
| `title` | `string` |
| `url` | `string` |
| `logo` | `string` |
| `accent` | `string` |
# Shadcn Registry 5
A clean light Open Graph image with centered logo, name, title, and description inside a bordered frame.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/shadcn-registry-5
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { ShadcnRegistry5 } from "@/components/og/shadcn-registry-5";
```
```tsx
export function GET() {
return new ImageResponse(
,
{
width: 1200,
height: 630,
}
);
}
```
## API Reference [#api-reference]
### ShadcnRegistry5 [#shadcnregistry5]
| Prop | Type |
| ------------- | -------- |
| `name` | `string` |
| `title` | `string` |
| `description` | `string` |
| `logo` | `string` |
| `accent` | `string` |
# Shadcn Registry 6
A minimal Open Graph image with solid border lines, a logo in the top-left, and title/description at the bottom.
> 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).
## Installation [#installation]
Command
Manual
```bash
npx shadcn@latest add @ogimagecn/shadcn-registry-6
```
Copy and paste the following code into your project.
Update the import paths to match your project setup.
## Usage [#usage]
```tsx
import { ImageResponse } from "next/og";
import { ShadcnRegistry6 } from "@/components/og/shadcn-registry-6";
```
```tsx
export function GET() {
return new ImageResponse(
,
{
width: 1200,
height: 630,
}
);
}
```
## API Reference [#api-reference]
### ShadcnRegistry6 [#shadcnregistry6]
| Prop | Type |
| ------------- | -------- |
| `title` | `string` |
| `description` | `string` |
| `brand` | `string` |
| `logo` | `string` |
# Shadcn Registry
Open Graph images for showcasing shadcn registries and component collections.
> 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).