I don’t understand how to change the name in the component.
Please tell me, how to do this?
The teacher’s area is on the left, and mine is on the right.
You change the SceneNode name.
sceneNode.name = "New Name";
https://adobexdplatform.com/plugin-docs/reference/scenegraph.html#scenenodename--string
Also, if this is about Adobe XD usage and not plugin development then you are on the wrong site.