I don’t know if you can get the JSON format directly through the HTML, but you can get it from the Webflow Designer:
Build the component in the designer and copy it, you will get the JSON in your clipboard, and then to get it in plain text you have to paste it in this Clipboard Inspector in the field that says paste in here
I’m currently trying to figure out how to do the opposite, how to convert the JSON to HTML, if anyone has any clue please hit me up.
But as it says, it’s not particularly fun or straightforward, and it’s fairly limited in what can be imported.
I’d be really curious if there was an online or CLI tool for creating Webflow JSON components from raw HTML. Including CSS elements and JS would be even better!