Skip to Content
Introduction

Welcome to Foir

Foir is a headless CMS that delivers personalized content to your applications. Build your content once, then target it to the right audience automatically.

What Can You Do?

Create Any Content Structure

Build the content types you need with the Entity System. Use field types like text, images, and rich text. Create reusable components with inline schemas.

Personalize Content for Your Audience

Show different content to different visitors with Variants. Target by device, market, language, or customer segments using targeting rules.

Control Your URLs

Set up clean URLs with the Routing System. Support static pages, dynamic content, and localized paths like /uk/en/products/blue-shirt.

Integrate with Your Frontend

Generate TypeScript types with UniformGen. Query the GraphQL API to fetch and render content in any frontend framework.

Key Features

FeatureDescription
Visual EditorEdit content with a user-friendly admin interface
Version HistoryTrack changes and roll back when needed
Publishing WorkflowDraft, preview, and publish with confidence
Media LibraryUpload and manage images, videos, and files
GraphQL APIQuery exactly the content you need
Shopify IntegrationEnrich products and collections with CMS content

Getting Started

  1. Create an API Key - Connect your app to Foir
  2. Install Packages - Add the SDK to your project
  3. Generate Types - Get TypeScript support
  4. Fetch Content - Query the API and display content

Need Help?

  • FAQ - Common questions answered
  • Guides - Step-by-step tutorials
  • Concepts - Deep-dive documentation
Last updated on