Skip to main content
Glama

get_html

Convert Figma nodes into structured HTML using specified formats (semantic, div-based, webcomponent) and CSS handling modes (inline, classes, external). Outputs HTML content for seamless design-to-development workflows.

Instructions

Generates HTML structure from Figma nodes.

Returns:

  • content: Array of objects. Each object contains a type: "text" and a text field with the generated HTML string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cssModeNoOptional. The CSS handling mode: "inline", "classes", or "external". Defaults to "classes".classes
formatNoOptional. The HTML output format: "semantic", "div-based", or "webcomponent". Defaults to "semantic".semantic
nodeIdYesThe unique Figma node ID to generate HTML from. Must be a string in the format '123:456'.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amalinakurniasari/conduit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server