GatsbyReactStatic Site GeneratorHeadless CMSComposable ArchitectureGraphQLFrontend FrameworkAPI-Driven Frontend

Gatsby

React framework for building static and headless CMS–driven websites.

Overview

Gatsby is commonly used with Headless CMS platforms by sourcing content via GraphQL and generating static pages at build time. It acts as a presentation layer that separates content management from frontend delivery, with a strong focus on performance and predictable builds.

Rendering Modes
SSGDSGSSR
Best For

Marketing sites, Blogs, E-commerce

License

MIT

Quick Start

npm init gatsby

Follow the interactive prompts (site title, project folder, language, CMS, styling, features). Run the dev server using the instructions printed by the CLI after setup.

Key Features

GraphQL Data Layer

Image Optimization

Plugin Ecosystem

Deferred Static Generation

Pros & Cons

Pros

  • Rich plugin ecosystem
  • Great for content sites
  • Excellent image handling

Cons

  • Build times can be slow
  • GraphQL can be overkill
  • Declining popularity

Common Use Cases

Follow the interactive prompts (site title, project folder, language, CMS, styling, features). Run the dev server using the instructions printed by the CLI after setup.Content SitesBlogsDocumentation SitesE-commerce FrontendsHybrid Rendering Sites

Compatible CMS

Compatible Cloud Servers