This package provides a simple way to add Open Graph meta tags to your Next.js application.
npm install @daveyplate/next-open-graph
import { OpenGraph } from '@daveyplate/next-open-graph'
export default function MyPage() {
return (
<>
<OpenGraph
title="My Page"
description="This is my page"
image="https://example.com/image.jpg"
ogType="article"
twitterCard="summary"
url="https://example.com/my-page"
siteName="My Awesome Site"
/>
</>
)
}