Skip to content

RenderOgImageOptions

The per-site part of every card: the fonts, the logo and the brand text in the footer.

Import:

import type { RenderOgImageOptions } from '@mnaoumov/typescript-dev-toolkit/docs-site/og-image';

Signature:

export interface RenderOgImageOptions

Properties

PropertyTypeDescription
brandTextstringThe text the footer carries, normally the package's name.
fontsFont[]The fonts satori renders the text with.
logoDataUrinull | stringThe site logo as a PNG data URI, or null to render the card without one.

Links to this page: