canvas-component-utils

Community

Render text and images in React with drupal-canvas.

AuthorAJV009
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides reusable UI primitives to render HTML content and media in React components, reducing boilerplate and ensuring consistent rendering across apps.

Core Features & Use Cases

  • FormattedText: render HTML content from props with contentMediaType: text/html
  • Image: render responsive images with alt text and sizing
  • Use Case: Build rich content cards with text blocks and media without writing boilerplate

Quick Start

Install drupal-canvas and import FormattedText and Image to start rendering HTML content and images in your components.

Dependency Matrix

Required Modules

None required

Components

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-utils
Download link: https://github.com/AJV009/drupal-devkit/archive/main.zip#canvas-component-utils

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.