canvas-content-templates

Installation
SKILL.md

Canonical definition

A content template is a JSON file that maps a Drupal content entity (identified by entity type, bundle, and view mode) to a tree of Canvas component elements. Content templates define how Drupal content is rendered using Canvas components, including which entity fields map to which component props.

Location and naming

Author content templates in the configured content templates directory (contentTemplatesDir in canvas.config.json). If contentTemplatesDir is not set, the default is the top-level content-templates/ directory.

Naming convention: {entityType}.{bundle}.{viewMode}.json

Examples:

  • <content-templates-dir>/node.article.full.json
  • <content-templates-dir>/node.article.teaser.json
Installs
61
GitHub Stars
3
First Seen
May 14, 2026
canvas-content-templates — drupal-canvas/skills