OG Image
Api

Components

Components that are included with the module, including OgImage and OgImageScreenshot.

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 composable.

<template>
  <OgImage />
</template>

OgImageScreenshot

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

Uses the defineOgImageScreenshot composable.

<template>
  <OgImageScreenshot />
</template>