Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Plasmic

Security covered Under active development

This module integrates Plasmic, a visual builder, into Drupal, allowing you to embed Plasmic components as full pages, content fields, or custom blocks. You can dynamically configure component properties and pass content from Drupal to your Plasmic designs.

Plasmic Integration Module

Overview

The Plasmic Integration module for Drupal seamlessly integrates Plasmic components into your Drupal site.
Plasmic is a powerful visual builder for designing and creating dynamic, responsive
components and pages. With this module, you can embed Plasmic components either as full pages, content pages or
as fields within your content types and custom blocks, enabling a streamlined, visually-driven development process.

Features

  • Custom Field Type: Add Plasmic components to any Drupal entity with our custom plasmic_component field.
  • Dynamic Properties: Easily configure component properties such as mode (published/preview), hydration, and embedded hydration.
  • Flexible Slot Management: Define unlimited key-value pairs for component slots, dynamically added through the form interface, easily passing content from Drupal CMS into Plasmic component
  • Entity Integration: Support for Plasmic Full Page and Plasmic Content entities, enabling you to use Plasmic for both full-page layouts and individual content pieces.
  • Custom Blocks: Create custom Plasmic blocks available in the Custom Block Library, enabling you to add Plasmic components as Drupal blocks (e.g.: header/footer, etc...)
  • Cache Management: Integrated caching for Plasmic HTML output to optimize performance, with an admin option to clear the cache.

Installation

  1. Download and Enable:
    • Download the module and place it in your Drupal installation under modules/custom.
    • Enable the module via the Drupal admin UI or using Drush: drush en plasmic -y.
  2. Configuration:
    • Navigate to the module configuration page at /admin/config/system/plasmic.
    • Enter your Plasmic Project ID and Public API Token.
  3. Adding Fields:
    • Add the plasmic_component field to any content type or custom block.
    • Configure the field settings to specify component properties and slot values.
  4. Creating Entities:
    • Create Plasmic Full Page or Plasmic Content entities from the admin/content/plasmic page.

Usage

  1. Embedding Components:
    • When adding or editing content, fill in the Plasmic component field with the required component name and properties.
    • Use the dynamic slot fields to provide values for your Plasmic component slots.
  2. Custom Blocks:
    • Create custom blocks with embedded Plasmic components to use across various regions of your site.

Contribution

We welcome contributions from the community! If you encounter any issues or have suggestions for improvements, please create an issue in the issue queue.

Maintainers

Ask your assistant about Plasmic

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.0-beta1 Pre-release 8–10 Jul 9, 2024
1.0.x-dev Dev 8–10 May 31, 2024