Creating reusable components
Custom components in JSX.Design let you reuse groups of elements effortlessly. Instead of recreating similar structures repeatedly, you can combine elements, save them as a custom component, and drag them into your canvas whenever needed.
How to create a custom component
Exporting custom components
Export custom components as JSX or TSX, just like regular components.
When you export a project, all custom components are stored separately inside the components folder for easy organization and reuse.
Editing a custom component
Deleting custom components
Deleting from a canvas
Right-Click the custom component in the canvas and select "Delete" to remove it from the current canvas.
Deleting the component from project
Open My Projects, select the project containing the custom component, and navigate to the components folder.
Right-click the custom component and select "Delete" to remove it entirely from the project.
Note: This action is irreversible.
Next Steps:
Great! Let's move on to other exciting topics:
Last updated