December 1st, 2025 | Drupal

By: Justin Phelan

How to Prepare Your Drupal Site to Use the New Drupal Canvas Page Builder

Migrating to Drupal Canvas page builder

The Drupal community is buzzing with excitement about Drupal Canvas, the revolutionary visual page builder that will transform how we create content in Drupal. With version 1.0 released in late 2025 and becoming the default page builder in Drupal CMS 2.0 in early 2026, now is the perfect time to prepare your existing Drupal site for this powerful new tool.

Whether you're running a site built with Paragraphs or Layout Builder, the transition to Drupal Canvas doesn't have to be overwhelming. In fact, with the right preparation, you can gradually migrate your site page by page, maintaining full control over the process while unlocking the tremendous benefits Canvas offers.

At our agency, we specialize in helping Drupal site owners prepare for and migrate to the new Canvas page builder. Contact us today to discuss how we can get your site ready for this exciting new chapter in Drupal's evolution.

Why Drupal Canvas Changes Everything

Drupal Canvas represents the most significant leap forward in Drupal's editorial experience in years. For years, building pages in Drupal required technical expertise, but Canvas gives end-users a visual page builder that is both more powerful and easy to use.

Here's what makes Canvas so revolutionary:

Real-Time Visual Editing: Unlike previous page builders, Canvas provides drag-and-drop functionality with instant visual feedback. You see exactly how your page will look as you build it, eliminating the frustrating cycle of edit-save-preview.

Component-Based Architecture: Canvas leverages Single Directory Components (SDC), which contain your own Twig, JavaScript, and CSS in self-contained, reusable packages. This modern approach mirrors popular frameworks like React, making it familiar to front-end developers.

Empowered Content Editors: Marketing teams and content creators can build sophisticated pages independently, without waiting for developer support. This reduces dependency on developers for routine page updates and can cut content publishing time by 60-70%.

AI-Powered Capabilities: Drupal Canvas integrates with AI to generate complete, designed pages in minutes using a component-based design system. What used to take hours can now happen in minutes while maintaining your site's structure and style.

Developer-Friendly: Canvas supports React, which means front-end developers can contribute using skills they already have. Developers can focus on building sophisticated component libraries rather than handling routine layout requests.

Understanding Your Current Setup: Paragraphs vs. Layout Builder

Before diving into preparation, it's important to understand how your current site is structured. Most Drupal sites use one of two primary approaches for flexible page building:

The Paragraphs Approach

Converting Drupal paragraphs to canvas SDC

Paragraphs has been the go-to solution for creating flexible, structured content in Drupal for years. This module allows editors to build pages using smaller, reusable building blocks rather than dumping everything into a single WYSIWYG field. Each paragraph type contains specific fields and can be configured to create complex layouts without extensive coding.

If your site uses Paragraphs, you likely have:

  • Multiple paragraph types (hero sections, content blocks, image galleries, etc.)

  • Custom paragraph templates with styling

  • Field configurations that define what content goes into each paragraph

  • A content editing experience where users add paragraphs in a stacked interface

The Layout Builder Approach

Convert Drupal Layout Builder to Canvas SDC

Layout Builder, introduced in Drupal 8.5 and stable since 8.7, takes a different approach. It provides a more visual way to arrange blocks on a page, allowing site builders to create custom layouts directly in the admin interface. Layout Builder integrates with Drupal's block system and provides more flexibility in positioning content.

If your site uses Layout Builder, you likely have:

  • Custom layouts with regions where blocks can be placed

  • Block configurations that define reusable content components

  • A more visual editing experience compared to traditional Drupal

  • Layout overrides that allow different configurations per node

Both approaches have served the Drupal community well, but they each have limitations that Canvas addresses. Paragraphs can feel linear and restrictive, while Layout Builder's interface, though improved, still requires understanding Drupal's architecture.

The Path Forward: Converting to Single Directory Components

The key to preparing your site for Canvas lies in understanding and implementing Single Directory Components (SDC). SDCs are part of Drupal Core and provide a modern, component-based development approach by organizing components in self-contained folders.

What Are Single Directory Components?

Think of an SDC as a complete, self-contained package that includes everything needed for a component to work:

At minimum, each SDC contains a .component.yml file that defines the component metadata (props and slots) and a .twig file that defines the markup. Optionally, you can add CSS for styling, JavaScript for behaviors, and additional assets like images or icons.

The beauty of this approach is organization. Instead of having your Twig templates in one directory, your CSS in another, and your JavaScript somewhere else, everything lives together in a single folder. This makes components easier to find, maintain, and reuse.

SDC file structure

Converting Paragraphs to SDC Components

If your site currently uses Paragraphs, the conversion process involves creating SDC components that mirror your existing paragraph types. Here's the general approach:

1. Analyze Your Current Paragraphs: Start by documenting all your paragraph types and the fields they contain. Understanding what data each paragraph type manages is crucial for creating proper SDC definitions.

2. Create the Component Structure: Inside your custom theme, create a components/ folder, then create a subfolder for each component. For example, if you have a "Hero" paragraph type, you'd create components/hero/.

3. Define Props and Slots: The component metadata file is where you define how data flows into your component. Props are for simple data types (strings, numbers, booleans), while slots are for nested HTML content.

4. Build the Twig Template: Convert your paragraph's Twig template to use the SDC structure. Instead of accessing Drupal field variables directly, you'll reference the props and slots defined in your component metadata.

5. Add Styling and Behavior: Move any CSS and JavaScript associated with your paragraph type into the component directory. SDC automatically generates the necessary libraries and loads them when the component is used.

Bridge Module Option: For sites with extensive Paragraphs implementations, consider using the Paragraph SDC module. This contributed module provides adapters that allow you to display existing Paragraph content in Canvas components, making the transition smoother by letting you leverage existing content while building new pages in Canvas.

Converting Layout Builder Blocks to SDC Components

For sites using Layout Builder, the process is similar but focuses on your custom blocks:

1. Inventory Your Blocks: Document all custom blocks you've created for Layout Builder, including their field configurations and any custom templates.

2. Transform Block Logic into Components: Each block becomes an SDC. The block's fields map to the component's props and slots, and any custom templates become the component's Twig file.

3. Handle Layout Complexity: Layout Builder often includes complex nested layouts. When converting to SDC, think about which layouts should become container components (components with slots that accept other components) versus standalone components.

4. Preserve Block Configuration: Many Layout Builder blocks have complex configuration options. These need to be translated into component properties with appropriate validation through the JSON schema in your component metadata.

The Component Metadata: Your Blueprint for Success

The .component.yml file is the heart of every SDC and deserves special attention. This file defines the component metadata, provides descriptions for integration with external tools, and specifies props with JSON schema validation.

Here's what a typical component metadata file includes:

Schema Reference: Points to the official Drupal metadata schema for validation
Basic Information: Name, status, group (for organizing in Canvas), and description
Props Definition: Type specifications, titles, descriptions, validation rules (enums, patterns), and default values
Slots Definition: Areas for nested content with descriptions of what they should contain

The quality of your component descriptions directly impacts how well they work with Canvas, especially with AI-powered features. Clear, detailed descriptions help the AI understand when and how to use each component.

You can find the latest information for building single directory components for Drupal Canvas on the new Drupal Canvas documentation website. https://project.pages.drupalcode.org/canvas/sdc-components/

Your Gradual Migration Strategy

One of Canvas's greatest strengths is that you don't need to convert your entire site at once. Here's a practical migration strategy we recommend:

Phase 1: Component Conversion (Weeks 1-4)

Start by converting your most commonly used paragraph types or Layout Builder blocks into SDC components. Focus on:

  • Hero sections and page headers

  • Content blocks and text sections

  • Image galleries and media components

  • Call-to-action elements

  • Card layouts and grids

Build these components with Canvas in mind, ensuring they work both with your existing system and as Canvas components.

Phase 2: New Content First (Weeks 5-8)

Begin creating new landing pages and campaign pages using Canvas. This allows your team to:

  • Learn the Canvas interface without pressure

  • Test components in real-world scenarios

  • Identify gaps in your component library

  • Build confidence with the new system

Your existing content remains untouched during this phase, providing a safety net.

Phase 3: Strategic Conversion (Weeks 9-16)

Start converting existing high-value pages one at a time:

  • Homepage and key landing pages

  • Campaign pages that change frequently

  • Template pages used across multiple sections

  • Pages that marketing teams need to update regularly

Track conversion progress and gather feedback from content editors throughout this phase.

Phase 4: Long-tail Migration (Ongoing)

Convert remaining pages opportunistically:

  • When pages need significant updates

  • During content audits and refreshes

  • As part of regular maintenance cycles

  • When editors request Canvas access for specific sections

There's no rush to convert every page—prioritize high-traffic landing pages and frequently updated content first. Static archival content may never need conversion. Many content types work perfectly well as structured entities with traditional Manage Display configurations or custom Twig templates.

That said, Canvas extends beyond standalone page building. Through content templates and field slots, Canvas can take over the display layer of your content types, allowing editors to visually arrange structured fields alongside freeform Canvas components. This gives you editorial flexibility where you need it while maintaining the data integrity of Drupal's entity system for SEO, search, and content reuse.

Technical Considerations and Best Practices

Component Design Principles

Keep Components Atomic: Each component should do one thing well. Create small, focused components that can be combined rather than monolithic components that try to do everything.

Use Slots Wisely: Slots hold arbitrary markup and allow embedding other components. Design your container components with slots that clearly define what content belongs where.

Validate Your Props: Use JSON schema validation in your component metadata to ensure data integrity. Define enums for limited choices, set required fields, and provide sensible defaults.

Document Everything: Write clear descriptions for every component, prop, and slot. Future you (and your team) will appreciate the clarity.

Performance Optimization

Library Management: SDC automatically handles library creation and loading, but you still need to specify Drupal library dependencies in the libraryOverrides section of your component metadata.

Asset Organization: Keep component assets (images, fonts, SVGs) in the component directory. This keeps everything organized and ensures assets are available when components are reused.

Caching Considerations: Using slots instead of destructuring render arrays preserves Drupal's caching system, improving performance across your site.

Testing Your Components

Before going live with Canvas pages:

  • Test each component in isolation

  • Verify responsive behavior across devices

  • Check accessibility with screen readers

  • Validate with SDC Devel module if available

  • Test component combinations and nesting

How We Can Help

Converting an existing Drupal site to leverage Canvas is a significant undertaking that requires both technical expertise and strategic planning. At our agency, we've developed a proven process for preparing sites for Canvas migration:

Component Audit and Analysis: We thoroughly analyze your existing Paragraphs or Layout Builder implementation, identifying all components and their dependencies.

Strategic Migration Planning: We work with your team to create a phased migration plan that minimizes disruption while maximizing the benefits of Canvas.

Component Development: Our developers build high-quality SDC components that match your existing designs while leveraging Canvas's powerful features.

Training and Support: We train your team on both component development and Canvas usage, ensuring you're set up for long-term success.

Ongoing Optimization: As you migrate pages, we provide support for troubleshooting, optimization, and continuous improvement.

Ensuring Your Foundation is Solid: The Drupal 11 Requirement

Before you can leverage Drupal Canvas, there's one critical prerequisite: your site must be running Drupal 11. Canvas is built on modern Drupal core features and architecture that simply aren't available in earlier versions.

Why Drupal 11 Matters

Drupal 11 was released in 2024 and brings significant improvements that Canvas depends on:

Enhanced SDC Support: While Single Directory Components were introduced in Drupal 10.1, Drupal 11 includes refinements and optimizations that Canvas requires for optimal performance.

Modern PHP Requirements: Drupal 11 requires PHP 8.3 or higher, which provides better performance and security features that benefit Canvas's real-time editing capabilities.

Improved APIs: Canvas leverages updated rendering and templating APIs that have been enhanced throughout the Drupal 10 and 11 release cycles.

React Integration: The modern JavaScript tooling and integration capabilities in Drupal 11 are essential for Canvas's React-based interface.

Assessing Your Current Version

If you're still on Drupal 9 or 10, now is the time to plan your upgrade. Here's what to consider:

Drupal 9 Sites: Drupal 9 reached end-of-life in November 2023. If you're still on Drupal 9, you're missing critical security updates and need to upgrade immediately—Canvas is just one more compelling reason to make the move.

Drupal 10 Sites: While Drupal 10 is still supported, you'll need to upgrade to Drupal 11 to use Canvas. The good news is that the upgrade path from Drupal 10 to 11 is relatively straightforward, especially compared to earlier major version upgrades.

Drupal 7 or 8 Sites: Security support for Drupal 7 ended on January 5, 2025, and Drupal 8 support ended years ago. These sites require a more substantial migration effort, but the payoff—modern Drupal with Canvas—is worth it.

The Upgrade Process

Upgrading to Drupal 11 involves several key steps:

Dependency Audits: Review all contributed modules and custom code to ensure Drupal 11 compatibility. Most popular modules now support Drupal 11, but some legacy modules may need alternatives.

PHP Version Updates: Ensure your hosting environment supports PHP 8.3 or higher. This may require coordinating with your hosting provider or considering a hosting upgrade.

Testing and Quality Assurance: Thoroughly test the upgraded site in a development environment before going live. This includes testing all custom functionality, contributed modules, and theme components.

Data Migration: For sites on older versions (especially Drupal 7), content and configuration need to be migrated to the new system, not just upgraded.

We Can Help With Your Drupal 11 Upgrade

Many agencies treat upgrades as separate projects from feature work, but we see them as interconnected. When you work with us on your Canvas migration, we can handle your Drupal 11 upgrade as part of a comprehensive site modernization project.

Our upgrade services include:

Complete Compatibility Assessment: We audit your entire site—custom modules, contributed modules, themes, and integrations—to create a detailed upgrade roadmap.

Seamless Migration Planning: We develop a strategy that minimizes downtime and ensures all your content, users, and configurations transition smoothly.

Module Updates and Replacements: When modules aren't yet compatible with Drupal 11, we identify suitable alternatives or, if necessary, update custom code to work with the new version.

Performance Optimization: Upgrades are the perfect opportunity to optimize your site. We clean up technical debt, improve caching strategies, and optimize database queries.

Coordinated Timeline: Rather than upgrading to Drupal 11 and then starting Canvas preparation months later, we can plan both initiatives together, saving time and reducing disruption.

Timing Your Upgrade Strategy

If you're not yet on Drupal 11, here's our recommended timeline:

Immediate Priority (If on Drupal 7, 8, or 9): Upgrade to Drupal 10 or 11 immediately for security reasons. Canvas preparation can happen in parallel or shortly after.

Near-Term Priority (If on Drupal 10): Plan your Drupal 11 upgrade for the next quarter, and begin Canvas preparation work (component planning, content audits) now. When you upgrade, you'll be ready to start implementing Canvas immediately.

Current on Drupal 11: You're ready to start Canvas preparation now. Focus on creating your component library and planning your migration strategy.

The Combined Value Proposition

Tackling your Drupal 11 upgrade and Canvas preparation together creates synergies:

  • Single Disruption Window: Rather than two separate projects requiring testing and deployment, you handle both transitions at once.

  • Unified Code Modernization: When updating code for Drupal 11, you can simultaneously restructure it as SDC components.

  • Better ROI: Combined projects are more cost-effective than sequential ones, as much of the audit and planning work applies to both initiatives.

  • Faster Time to Value: Instead of upgrading now and then waiting to implement Canvas later, you can launch with Canvas capabilities immediately after upgrade.

Don't let your Drupal version hold you back from experiencing the future of page building. Whether you need a straightforward Drupal 11 upgrade or a comprehensive site modernization that includes Canvas preparation, we have the expertise to guide you through the process smoothly and efficiently.

Looking Ahead: The Future is Component-Based

Canvas marks the beginning of a new chapter for how people create with Drupal. The component-based architecture isn't just a temporary trend—it's the future of web development, and Drupal is positioning itself at the forefront of this movement.

By preparing your site now, you're not just getting ready for Canvas. You're:

  • Modernizing your codebase with industry best practices

  • Improving maintainability and reducing technical debt

  • Empowering your content team with better tools

  • Future-proofing your Drupal investment

The transition to Canvas doesn't have to be overwhelming. With proper planning, a phased approach, and expert guidance, you can smoothly migrate your site while continuing to serve your users without interruption.

Ready to prepare your Drupal site for the Canvas revolution? Contact us today to discuss your specific needs and learn how we can help you successfully transition to this powerful new page builder. Whether you're running a complex enterprise site or a nimble marketing platform, we have the expertise to make your Canvas migration smooth and successful.

Have questions about preparing your site for Drupal Canvas? Drop us a message and let's talk about how this new tool can transform your content creation workflow.

Justin Phelan

Full Stack Developer

Let's make something great together.