Skip to content

Use cases

A use case defines how a template is used to produce an image—not a separate design on its own.

Content (post, page, site data) → Template (layout) → Use case (output)

You always start with a template design, then assign one or more use cases to that template in the CoverKit sidebar. There is no global “handlers” screen: open the template, enable the outputs you need, map fields to layers, and save.

CoverKit is designed to grow into more output types (social sizes, email headers, watermarks, and similar). Today’s built-in use cases are:

Use caseWhat it does
Open Graph imageog:image (and related tags) on eligible front-end views when this template is chosen
Sidebar imagePreview image in the template editor sidebar while you work
MinimalDefault output profile only—no extra front-end hooks beyond the shared base

The same template layout can power Open Graph share images and a sidebar preview at the same time. Each use case has its own:

  • On/off state for this template
  • Settings (post types, alt text, dimensions hints, and so on)
  • Field-to-layer mappings

Mappings are stored with the template assignment, not as free-floating site options.

  1. Edit a CoverKit template (Media → CoverKit).
  2. Open the CoverKit sidebar → Use cases.
  3. Enable a use case, adjust settings, and map Required / Recommended fields to layers.

Step-by-step: How to configure use cases.

Developers can register new use cases in PHP. See Custom use cases and the codebase reference.