Install Page Builder Examples

Magento Commerce only

The content on this page is for Magento Commerce only. Learn more

You can find the Page Builder examples used in this documentation on GitHub in the pagebuilder-examples repo. The repo contains three types of examples:

  • Custom content type modules
  • Extension modules for existing content types
  • Example code for how-to topics

Custom content type modules

The Example directory on the repo provides custom content-type modules for you to download and install. The Page Builder team members created these modules to serve as examples for learning. They are not fully tested or guaranteed to work perfectly. However, we will do our best to improve these examples and keep them updated with the latest releases of Page Builder.

  • PageBuilderQuote — Create by Bruce Denham. This module shows you how to create a content type for a customer testimonial page. This is the completed Quote module featured in the Create a content type tutorial.
  • PageBuilderGrid — Created by Dave Macaulay. This module shows you how to create a content type that recreates the layout of the Magento Luma-themed home page using a grid structure with grid items.
  • PageBuilderFaq — Created by Igor Melnikov. This module shows you how to create a content type for an FAQ page that uses an accordion for the questions and answers.

Extension modules for existing content types

The Example directory also provides the completed extension module featured in the Extend a content type tutorial:

  • PageBuilderExtensionBanner — This Banner extension module shows the basic pattern for customizing existing content types using appearances.

Additional extension modules

Example code for how-to topics

In Progress. The how-to directories in the repo correspond to the how-to topics in this documentation. Each how-to directory provides the files and code changes featured in the how-to topics.

For example, the topic Add a custom toolbar, has a corresponding directory within the pagebuilder-examples repo called how-to-add-custom-toolbar. This directory provides the files with the code changes you need to make in order to add a custom toolbar to the PageBuilderQuote module.


Assuming you have Page Builder already installed, you can install the example modules as follows:

  1. Clone the pagebuilder-examples repo:

     git clone
  2. Navigate to your <Magento2_installation>/app/code/ directory.

  3. Copy or symlink the Example directory from your local pagebuilder-examples clone into your app/code/ directory.

    To Symlink:

     ln -s <Relative_route_to_cloned_Example_directory>

    Examples installation directory

  4. Enable the modules using the setup:upgrade command:

    bin/magento setup:upgrade
  5. Navigate to a Page Builder instance to ensure the example content types appear in the Page Builder panel, as shown here:

    Content type examples shown in panel