---
title: "Components · Nuxt OG Image · Nuxt SEO"
canonical_url: "https://nuxtseo.com/docs/og-image/v5/api/components"
last_updated: "2026-08-16T09:55:40.219Z"
meta:
  description: "Components that are included with the module, including OgImage and OgImageScreenshot."
  "og:description": "Components that are included with the module, including OgImage and OgImageScreenshot."
  "og:title": "Components · Nuxt OG Image · Nuxt SEO"
---

Nuxt SEO on GitHub

You're viewing **OG Image v5** documentation. For the latest, [~~switch to v6~~](https://nuxtseo.com/docs/og-image/getting-started/introduction).

](https://nuxtseo.com/docs/og-image/v5/getting-started/introduction)

](https://nuxtseo.com/docs/og-image/v5/api/define-og-image)

](https://nuxtseo.com/docs/og-image/v5/releases/v5)

Switch to OG Image](https://nuxtseo.com/docs/og-image/getting-started/introduction)Switch to Nuxt SEO](https://nuxtseo.com/docs/nuxt-seo/getting-started/introduction)Switch to Robots](https://nuxtseo.com/docs/robots/getting-started/introduction)Switch to Sitemap](https://nuxtseo.com/docs/sitemap/getting-started/introduction)Switch to Schema.org](https://nuxtseo.com/docs/schema-org/getting-started/introduction)Switch to Link Checker](https://nuxtseo.com/docs/link-checker/getting-started/introduction)Switch to SEO Utils](https://nuxtseo.com/docs/seo-utils/getting-started/introduction)Switch to Site Config](https://nuxtseo.com/docs/site-config/getting-started/introduction)Switch to Skew Protection](https://nuxtseo.com/docs/skew-protection/getting-started/introduction)Switch to AI Ready](https://nuxtseo.com/docs/ai-ready/getting-started/introduction)

**Nuxt API**

# **Components**

## Introduction

It's recommended to use composables over components, as they are more flexible and will provide better type safety.

## `**OgImage**`

Render a customisable OG Image.

Uses the [**~~defineOgImage~~**](https://nuxtseo.com/docs/og-image/api/define-og-image) composable.

```vue
<template>
  <OgImage />
</template>
```

## `**OgImageScreenshot**`

Takes a screenshot of the page and uses it as the image.

Uses the [**~~defineOgImageScreenshot~~**](https://nuxtseo.com/docs/og-image/api/define-og-image-screenshot) composable.

```vue
<template>
  <OgImageScreenshot />
</template>
```

**Was this page helpful?**

[**defineOgImageScreenshot()** Define an OG Image that takes a screenshot of the page.](https://nuxtseo.com/docs/og-image/v5/api/define-og-image-screenshot) [**Nuxt Config** The Nuxt OG Image module configuration.](https://nuxtseo.com/docs/og-image/v5/api/config)