Does Figma generate code?

In Figma, the Code panel offers an easy way to extract code information from a specific page element. By selecting a layer, the code will be shown. Figma now supports CSS, Swift, and XML, however much of the accessible code is limited to aesthetic attributes and spacing.