01Prepare the markup you want to import
Choose the exact block of HTML you need. A focused component, a hero section, or a self-contained layout usually produces a cleaner Figma result than pasting a giant page file that still needs to be broken apart afterward.
02Include the CSS context that matters
If the markup depends on classes, include the relevant CSS rules alongside it whenever possible. Inline styles or a colocated style block make the conversion path much clearer than relying on external files that are not part of the pasted source.
03Switch the plugin to HTML Code mode
Inside Figma, launch HTMLtoFigma and choose the code input path instead of the URL workflow. This tells the plugin to interpret the markup you provide directly rather than fetching a live webpage state from a browser address.
04Paste, convert, and inspect the result
After conversion, review typography, colors, layout grouping, and image handling. Because the source came from code instead of a rendered browser state, it is especially important to confirm whether all dependent styles traveled with the imported markup.