canvas-component-metadata
Installation
SKILL.md
File structure
Every component.yml must include these top-level keys:
name: Component Name # Human-readable display name
machineName: component-name # Machine name in kebab-case
status: true # Whether the component is enabled
required: [] # Array of required prop names
props:
properties:
# ... prop definitions
slots: [] # Use [] only when there are no slots; otherwise use an object map
Props
Requirements
Related skills
More from drupal-canvas/skills
canvas-component-definition
Start here for any React component task to enforce the canonical Canvas
96canvas-component-utils
Use utility components to render formatted text and media correctly. Use when
80canvas-data-fetching
Fetch and render Drupal content in Canvas components with JSON:API and SWR
80canvas-component-composability
Design Canvas-ready React components with slots and decomposition-first
78canvas-styling-conventions
Style Canvas components with Tailwind CSS 4 theme tokens and approved utility
77canvas-component-push
Push validated Canvas component changes to Drupal Canvas and recover from
52