# Video series Open Graph Image Template

A video series card with three episode tiles, a title, and a count chip.

- Page: https://www.shadcn-ui-blocks.com/open-graph-images/video-series
- Category: [Media](https://www.shadcn-ui-blocks.com/open-graph-images/media), Video
- Theme: light, with light and dark renditions
- Preview PNG: https://www.shadcn-ui-blocks.com/open-graph-images/video-series/preview

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/og-image-video-series
```

The code is part of Pro and Team: the install needs an API key from either plan (https://www.shadcn-ui-blocks.com/docs/shadcn-cli).

Use the Video series template for the landing page of a multi part series or playlist. The brand row sits up top, three episode tiles with play glyphs run across the middle, and the series title, a one line description, and an episode count anchor the bottom. It signals a body of work, so a shared link reads as a collection rather than a single clip.

## How it works

This template is a metadata image route for the Next.js App Router. The file exports `size`, `contentType`, and `alt` values plus a default async function that returns an `ImageResponse`. When a series page is shared, satori converts the JSX into an SVG document, the runtime rasterizes that SVG into a 1200 by 630 PNG, and Next.js serves the result and wires the `og:image` and `twitter:image` tags into the page head automatically. The first tile renders dark as the featured episode while the others stay light.

## Install

Install with the shadcn CLI using your Shadcn UI Blocks API key:

```bash
npx shadcn@latest add @shadcn-ui-blocks/og-image-video-series
```

The file lands at `app/opengraph-image.tsx`, which makes it the site wide share card. For a series, move it into that segment instead, for example `app/series/[slug]/opengraph-image.tsx`. You can also copy the code from this page straight into your project.

The card renders text with Inter, read from `assets/fonts` at your project root with `node:fs` so the font files never ship to the browser. Download the latin woff files for weights 400, 500, 600, and 700 from [Fontsource](https://fontsource.org/fonts/inter) and save them as `assets/fonts/inter-latin-400-normal.woff` and so on.

## Customize

The `content` object holds the brand, title, description, count, and url. The three tiles come from a fixed `[0, 1, 2]` map rather than a data array, and the index zero tile is the dark, featured one; recolor them with the zinc values in the file, or point each at a real thumbnail via an `img`. The `count` string renders in the bottom pill, so match it to your total. The title runs at 58px on one line, so trim the `fontSize` for longer series names.

satori supports a focused subset of CSS: flexbox layout only, flat colors, and an explicit `display: flex` on any element with multiple children. Keep those rules in mind if you rework the layout.
