Figma Dev Mode

Hello Everyone!

I was checking out the Figma devmode tutorial and noticed that when the person in the video inspected a button, an actual code snippet with functions popped up from github.

Does devmode provide code snippets and functions, or is it restricted to css and styling?

How can I create a rectangle with text and have the code turn out as an actual <button like in html?