canvas-component-authoring
CommunityAuthor and style Drupal Canvas components.
AuthorAJV009
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill guides developers to write, modify, and style React components for Drupal Canvas and Drupal CMS using a standardized approach that ensures consistency, reusability, and clear documentation across projects.
Core Features & Use Cases
- Covers the technology stack (React 19, Tailwind CSS 4, CVA variants, cn utility) and explains how to define component props and slots in a component.yml.
- Documents naming conventions (enum names, image/video prop types, and formatted text fields) and demonstrates how to align them with the project’s theme tokens from global.css.
- Provides the required project structure (index.jsx + component.yml) and guidance for matching source site visual styles such as dark backgrounds, gradient text, glass/blur effects, and updating theme tokens.
- Use when building, editing, or fixing any component in src/components/.
Quick Start
Create a new component under src/components/ following the index.jsx and component.yml structure, then start implementing and styling it with Tailwind and CVA according to the guidelines.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: canvas-component-authoring Download link: https://github.com/AJV009/drupal-devkit/archive/main.zip#canvas-component-authoring Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.