In addition to using your own unique custom components with Builder, you can tailor built-in components overriding them with your own component. You can extend, limit. or otherwise tweak built-in components so that your team has exactly what they need to build projects.
The image below shows an example of a custom button component registered with Builder. Because the button has the same name as the built-in component, the custom button overrides the default button.
To override Builder's built-in components, you should already be familiar with the following:
You can override Builder-provided components by registering a custom component with the same name. By overriding a component, you can add extra features to Builder's built-in blocks and change their behavior.
The following example demonstrates how to replace Builder's default Image block.
Check out the full reference docs for registerComponent()
options for more details.
As you create more custom components for Builder, be sure to read Versioning Custom Components to learn how to version and deprecate components.
For information on the code for the default components within the Builder Visual Editor, which can help you when overriding them, read the Built-in Component API Reference.