Home App Docs Blog Github

Can you include custom components that come from a different target than your main site?

Hi, I am building a custom component written in react. I have seen that for this component to work it needs to target a site that has that component registered. Is there any manor in which I can make this component available to other models that don’t target the same sight (as a custom component, template, or symbol).

Hi @zoltot :wave:

In order for your custom components to be available in Builder, they need to live in the code base that you have integrated with Builder and the entry needs to have a preview URL that points to your site.

You can use your custom components in templates or symbols as long as the preview URL for these entries also point to your site (e.g. for symbol entries the preview URL could be your-site.com/builder-editing?model=symbol).