New Addon - Custom Components


#1

Another addon that enhances the user interface around the Layout field.

The layout field is quite powerful and can be used for approaching page based components (Hero, Carousels, Banners, Sections, Headings, etc…), however, if we have dozens of components we may don’t want to have all of them available on every layout field. To use the addon just use a new attribute on the layout field with the list of component names that should be present in that field, e.g.:

{
  "enabled": [
    "section",
    "text",
    "heading",
    "divider"
  ]
}

and when adding components it will only display: