Open Graph
Open Graph meta tags with title, type, images, and site metadata.
seo
Install
$ npx shadcn@latest add @open-types/open-graph
Source
export interface OpenGraphImage {
url: string;
width?: number;
height?: number;
alt?: string;
type?: string;
}
export interface OpenGraphMeta {
title: string;
type?: string;
url?: string;
description?: string;
site_name?: string;
locale?: string;
images?: OpenGraphImage[];
}
export interface OpenGraphImage {
url: string;
width?: number;
height?: number;
alt?: string;
type?: string;
}
export interface OpenGraphMeta {
title: string;
type?: string;
url?: string;
description?: string;
site_name?: string;
locale?: string;
images?: OpenGraphImage[];
}