drupal-canvas

Create server-side-rendered UI components in Drupal with JavaScript and TypeScript.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/mgifford/drupal-core --skill drupal-canvas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drupal-canvas
Source: https://github.com/mgifford/drupal-core/tree/main/.agents/skills/drupal-canvas
Command: npx skills add https://github.com/mgifford/drupal-core --skill drupal-canvas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Classic Drupal development can be complex and time-consuming when creating reusable, interactive UI components.

Core Features & Use Cases

  • Component Development: Streamlines the creation of server-side rendered, reusable UI components for Drupal.
  • Integration: Connects with Drupal APIs, entities, and views for dynamic data handling.
  • Use Case: An architect needs to build consistent, modular UI elements that adapt to content and user interactions within a Drupal site.

Quick Start

Use the drupal-canvas skill to generate a new component that integrates with Drupal's content management system.

Frequently Asked Questions about drupal-canvas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build interactive server-side rendered UI components in Drupal?

To build server-side rendered UI components in Drupal, use this Skill to generate reusable elements with modern JavaScript and TypeScript, supporting API integration, styling, and nesting capabilities.

Can I use TypeScript to create reusable Drupal components?

Yes, you can use TypeScript to create reusable Drupal components, streamlining the development of interactive, server-side rendered UI elements that connect directly with Drupal APIs and entities.

What is the best way to integrate Drupal APIs with interactive UI elements?

The best way to integrate Drupal APIs with interactive UI elements is by generating components that connect with Drupal entities and views for dynamic data handling and server-side rendering.

Does this approach support nested UI components in Drupal?

Yes, this approach supports nested UI components in Drupal, allowing architects to build consistent, modular UI elements that adapt to content and user interactions within a site.

Do I need JavaScript to style dynamic Drupal views?

You need modern JavaScript or TypeScript to style dynamic Drupal views, as this Skill streamlines creating interactive, server-side rendered components that integrate with Drupal's content management system.