Appearance
Return
Generating a custom coded component
Create a custom coded component and use it like any other element in your interface.
Steps at a glance ​
- Open the component development area.
- Generate (or create) a coded component.
- Add properties so the component is configurable in the editor.
- Use the component in the interface and test it in preview.
1) Create the component ​
- Open the coded components area in the editor.
- Create a new component.
- Generate the initial code (or start from a template).
2) Add configurable properties ​
Make sure the component is easy to reuse:
- Add properties for text, colors, and sizes.
- Provide sensible defaults.
- Handle empty states gracefully.
3) Use it in the interface ​
- Add the component to a page.
- Bind properties to variables when needed.
- Test interactions in preview mode.
Common pitfalls ​
The component works in the editor but not in preview ​
- Check for missing configuration values.
- Confirm you are not relying on editor-only behavior.

