OG Image

Customizing the dynamic OG Image.

shadcn-docs-nuxt utilizes the nuxt-og-image module to generate dynamic OG Images.

The dynamic OG Image is used in all pages except the index page. The index page uses a static OG Image defined in the ogImage field instead.

Using Built-in Templates

To use a template, set the name of the OG Image component in the ogImageComponent.

Out of the box, a shadcn-docs-nuxt template and multiple community templates are available.

Component NamePreview
ShadcnDocsShadcn Docs OG Image Preview
NuxtNuxt OG Image Preview
Nuxt SEONuxtSEO OG Image Preview

Using Custom Templates

To use a custom template, create a template by following the guide in the Nuxt SEO Docs. Then set the component name of your template in ogImageComponent.

Cookies

We use cookies to enhance your browsing experience and analyze site traffic.Your privacy is important to us: we do not sell or share your personal data, and your information is securely stored. By continuing to use our site, you agree to our use of cookies.
Learn more about how we handle your data in our .