An Editor React Component (ERC) is a React component that Wix users place on pages and customize in the Studio Two editor.
Follow the instructions below to:
Note: You can also ask Aria, Wix's AI assistant, to create and customize the extension.
To add an ERC:
In the Studio Two editor, open the Code tab.
Open the ERC form:
If the Code tab opens on a welcome screen, select the option to add a custom component.
Otherwise, open the Wix Extension Builder in the VS Code sidebar. Under Create an Extension, select Site > Editor React Component.

Fill in the form:
Testimonial Card becomes testimonial-card.Click Generate.
You can find the new files under src/extensions/site/components/<component-folder>/. The extension is registered in your project's extensions.ts and listed under My Extensions. For what each file is for, see Editor React Component Extension Files and Code.
You can edit the generated files to match the look and behavior you need. Change the code yourself, or ask the AI in the Code tab to help. When you're happy with the component, move on to the next step.
To save a file, press Control+S (or Command+S on macOS). A circle on a file's tab means the file has unsaved edits. When the status bar shows Synced, the editor has your saved changes.
For example, to update the default title:
<component-folder>.props.ts.defaultProps, change title from 'Title' to 'Hello world!'.When you add the component to a page on the Design canvas, its title reads "Hello world!". A new default applies only to copies you add after saving. A copy that's already on a page keeps the title it was added with, so to see the change there, delete that copy and add the component again.
Changing a default value is all this example needs. Bigger changes take extra steps. After you change the component's props, elements, or CSS, regenerate the manifest. After you rename or replace props, also update component.preview.tsx. For the full workflow, from writing the component to adding presets and states, see Build an Editor React Component in Studio Two.
To check the component:
When you're ready, click Publish in the Studio Two editor. Your ERC ships with the published site.
Last updated: 2 November 2026