Whether it is a page or a block, their translation process is the same.
Get component code
In Figma DevMode mode, enable the Semi plug-in, and the corresponding code will be displayed in real time on the right side after the layer is selected. Suitable for quickly viewing components and their corresponding APIs
![](https://lf26-static.semi.design/obj/semi-tos/images/d61b8880-35b7-11ee-8dd3-fbb43044e72e.png)
Get block code
In Figma DevMode mode, enable the Semi plugin to quickly get the HTML structure and style of the component, without implementing layout and style from 0
![](https://lf6-static.semi.design/obj/semi-tos/images/2e5cb420-35ee-11ee-85df-13a3e39cd344.png)
Get page code
It supports full-page D2C, but in actual development, components usually need to be split, and the greater the amount of generated code, the greater the possibility of manual adjustment.
![](https://lf3-static.semi.design/obj/semi-tos/images/76fdcd50-35ed-11ee-85df-13a3e39cd344.png)
How to transcode
- Open the plugin (the entrance is different depending on the Figma mode you are in)
- Select a layer and start transcoding
- Preview the result and copy the code
![](https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/semi-linker/plugin-usage.gif)
Warm Reminder
Image links are valid for 3 hours due to security reasons. You can customize the image bed upload address in the global settings. There is no such limitation for ByteDance plug-ins.