Made in Builder

Made in Builder

Webinar ๐Ÿ‘‰ Visually Build at Scale with Builder.io & Netlify on 12/1

ร—

Developers

Product

Use Cases

Pricing

Developers

Resources

Company

Get StartedLogin

โ˜ฐ

Product

Features

Integrations

Talk to an Expert

Pricing

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

ร—

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

โ˜ฐ

Overriding Built-in Components

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.

Prerequisites

To override Builder's built-in components, you should already be familiar with the following:

Registering Custom Components

Using Custom Components in the Visual Editor

Overriding Builder's built-in components

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.

Tip: Check out Builder's open source repository for a list of our built-in components. You can find their names along with their input fields and configuration in the Builder.registerComponent() method within each component's file.

Next steps

As you create more custom components for Builder, check out Versioning Custom Components to learn how to version and deprecate components.


Need Expert help?

Reach out to us, and we will match you with a Builder expert.

Connect with us

Was this article helpful?