Creating reusable components
Last updated
Last updated
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.
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.
Right-Click the custom component in the canvas and select "Delete" to remove it from the current canvas.
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.
Great! Let's move on to other exciting topics: