SR
Click to open github profile
Get Started

Introduction

Learn how to use the @query-api/next library in Next.js.


The @query-api/next introduces a powerful query builder to your Next.js app, allowing you to easily fetch data from Craft CMS, similar to how you would in Twig.

It allows you to connect your Craft CMS sections and entry types to React components, making it easy to render dynamic content in your Next.js applications.

Requirements

Supported Element Types

The library supports querying for the following Craft CMS element types:

  • Addresses
  • Assets
  • Entries
  • Users

Need Help?

If you encounter bugs or have feature requests, please submit an issue. Your feedback helps improve the library!


Copyright © 2025 Samuel Reichör