Easily restore your project to a previous version with our new Instant One-click Backup Recovery

Hygraph
Docs

Hygraph snippets for Next

Here's a list of our snippets for Next. Each snippet links to you the repo:

Snippet nameDescription
Next AuthThis example demonstrates how to query from Hygraph NextAuth.js.
Next App RouterThis example demonstrates how to query from Hygraph with graphql-request in Next.js.
Next i18n RoutingThis example demonstrates how to use Next.js Internationalized Routing with localized Hygraph content.
Next ImageThis example demonstrates how to use the Next.js Image Component with your Hygraph assets.
Next Image LoaderThis example demonstrates how to use a custom loader function with Next.js Image Component and Hygraph assets. This allows you to perform asset transformations using the Hygraph CDN, rather than the default Next.js loader.
Next mdx remoteThis example demonstrates how to use markdown fields from Hygraph with MDX in Next.js.
NextJsThis example demonstrates how to query from Hygraph with graphql-request in Next.js.