Crawler Summary

html-to-figma answer-first brief

Convert HTML/CSS files or snippets into Figma designs via the Figma REST API. Creates Figma frames, auto-layout, text nodes, fills, borders, shadows, and effects matching the source HTML/CSS structure. Use when the user wants to import a web UI into Figma, generate Figma designs from HTML prototypes, convert component HTML to Figma components, sync HTML/CSS styles into a Figma file, or automate Figma design creation from code. --- name: html-to-figma description: "Convert HTML/CSS files or snippets into Figma designs via the Figma REST API. Creates Figma frames, auto-layout, text nodes, fills, borders, shadows, and effects matching the source HTML/CSS structure. Use when the user wants to import a web UI into Figma, generate Figma designs from HTML prototypes, convert component HTML to Figma components, sync HTML/CSS styles into a Figma fi Capability contract not published. No trust telemetry is available yet. Last updated 2/25/2026.

Freshness

Last checked 2/25/2026

Best For

html-to-figma is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 89/100

html-to-figma

Convert HTML/CSS files or snippets into Figma designs via the Figma REST API. Creates Figma frames, auto-layout, text nodes, fills, borders, shadows, and effects matching the source HTML/CSS structure. Use when the user wants to import a web UI into Figma, generate Figma designs from HTML prototypes, convert component HTML to Figma components, sync HTML/CSS styles into a Figma file, or automate Figma design creation from code. --- name: html-to-figma description: "Convert HTML/CSS files or snippets into Figma designs via the Figma REST API. Creates Figma frames, auto-layout, text nodes, fills, borders, shadows, and effects matching the source HTML/CSS structure. Use when the user wants to import a web UI into Figma, generate Figma designs from HTML prototypes, convert component HTML to Figma components, sync HTML/CSS styles into a Figma fi

OpenClawself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Feb 25, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 2/25/2026.

Trust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 25, 2026

Vendor

Darshjme Codes

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 2/25/2026.

Setup snapshot

git clone https://github.com/darshjme-codes/html-to-figma.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Darshjme Codes

profilemedium
Observed Feb 25, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Feb 25, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

3

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

python3 scripts/html_to_figma.py \
  --html path/to/component.html \
  --token YOUR_FIGMA_TOKEN \
  --file-id YOUR_FILE_ID \
  --page-name "Imports"

bash

python3 scripts/html_to_figma.py \
  --html-string '<div style="...">...</div>' \
  --token $FIGMA_TOKEN \
  --file-id $FIGMA_FILE_ID

python

headers = {
    "X-Figma-Token": "YOUR_PERSONAL_ACCESS_TOKEN",
    "Content-Type": "application/json"
}

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Convert HTML/CSS files or snippets into Figma designs via the Figma REST API. Creates Figma frames, auto-layout, text nodes, fills, borders, shadows, and effects matching the source HTML/CSS structure. Use when the user wants to import a web UI into Figma, generate Figma designs from HTML prototypes, convert component HTML to Figma components, sync HTML/CSS styles into a Figma file, or automate Figma design creation from code. --- name: html-to-figma description: "Convert HTML/CSS files or snippets into Figma designs via the Figma REST API. Creates Figma frames, auto-layout, text nodes, fills, borders, shadows, and effects matching the source HTML/CSS structure. Use when the user wants to import a web UI into Figma, generate Figma designs from HTML prototypes, convert component HTML to Figma components, sync HTML/CSS styles into a Figma fi

Full README

name: html-to-figma description: "Convert HTML/CSS files or snippets into Figma designs via the Figma REST API. Creates Figma frames, auto-layout, text nodes, fills, borders, shadows, and effects matching the source HTML/CSS structure. Use when the user wants to import a web UI into Figma, generate Figma designs from HTML prototypes, convert component HTML to Figma components, sync HTML/CSS styles into a Figma file, or automate Figma design creation from code."

HTML to Figma

Converts HTML/CSS into Figma nodes using the Figma REST API. Parses layout, typography, colors, spacing, borders, and shadows — creates a matching Figma frame tree.

Prerequisites

  • Figma personal access token (Settings → Security → Personal access tokens)
  • Target Figma file ID (from URL: figma.com/file/{FILE_ID}/...)
  • Python 3.9+ with requests, beautifulsoup4, cssutils (auto-installed by script)

Quick Start

python3 scripts/html_to_figma.py \
  --html path/to/component.html \
  --token YOUR_FIGMA_TOKEN \
  --file-id YOUR_FILE_ID \
  --page-name "Imports"

Or pass inline HTML:

python3 scripts/html_to_figma.py \
  --html-string '<div style="...">...</div>' \
  --token $FIGMA_TOKEN \
  --file-id $FIGMA_FILE_ID

What Gets Converted

| HTML/CSS | Figma | |----------|-------| | div, section, article | FRAME node | | p, h1-h6, span | TEXT node | | img | RECTANGLE + image fill | | button, input | FRAME + component hint | | display: flex | Auto-layout (HORIZONTAL/VERTICAL) | | background-color | Solid fill | | border-radius | cornerRadius | | box-shadow | DROP_SHADOW effect | | border | Stroke | | padding, gap | Auto-layout spacing | | font-* | FontName + fontSize + fontWeight | | color | Text fill | | opacity | opacity property |

Workflow

  1. Parse — script reads HTML with BeautifulSoup, extracts computed inline + stylesheet styles
  2. Map — CSS properties → Figma node properties (see references/css-figma-mapping.md)
  3. Create — POST to Figma REST API /v1/files/{id}/nodes to create nodes
  4. Nest — preserves DOM hierarchy as Figma parent-child frame tree
  5. Report — outputs Figma URL to the created frame

API Authentication

headers = {
    "X-Figma-Token": "YOUR_PERSONAL_ACCESS_TOKEN",
    "Content-Type": "application/json"
}

Set token via env var to avoid hardcoding: export FIGMA_TOKEN=figd_...

Common Options

| Flag | Default | Description | |------|---------|-------------| | --html | required | Path to HTML file | | --html-string | — | Inline HTML string (alternative to --html) | | --token / $FIGMA_TOKEN | required | Figma personal access token | | --file-id / $FIGMA_FILE_ID | required | Target Figma file ID | | --page-name | "HTML Import" | Figma page to create frame in | | --frame-name | filename or "Import" | Name for the root frame | | --scale | 1.0 | Scale factor for dimensions | | --flatten | False | Create flat layer list instead of hierarchy |

Tips

  • Inline styles win: Script reads inline style="" attributes first, then <style> blocks
  • Relative units: em/rempx assuming 16px base; % uses parent bounds
  • Fonts: Figma requires fonts to be installed in Figma desktop; web fonts may not match — use --font-fallback "Inter" to override all fonts
  • Images: <img src> creates a placeholder rectangle; actual image fill requires uploading the image separately via Figma API
  • Responsive: Script uses fixed pixel dimensions; pass --viewport-width 375 for mobile, 1440 for desktop

Limitations

  • CSS Grid layout → converted to nested frames (not native Grid)
  • SVG elements → converted to placeholder rectangles (SVG import requires Figma plugin)
  • Pseudo-elements (::before, ::after) → skipped
  • CSS animations → ignored (Figma is static)
  • External stylesheets → not fetched automatically; inline or embed before running

For complex components, see references/css-figma-mapping.md for the full property map.

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/snapshot"
curl -s "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/contract"
curl -s "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITHUB_REPOSactivepieces

Rank

70

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Traction

No public download signal

Freshness

Updated 2d ago

OPENCLAW
GITHUB_REPOScherry-studio

Rank

70

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

Traction

No public download signal

Freshness

Updated 5d ago

MCPOPENCLAW
GITHUB_REPOSAionUi

Rank

70

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSCopilotKit

Rank

70

The Frontend for Agents & Generative UI. React + Angular

Traction

No public download signal

Freshness

Updated 23d ago

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-16T23:34:33.478Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Darshjme Codes",
    "href": "https://github.com/darshjme-codes/html-to-figma",
    "sourceUrl": "https://github.com/darshjme-codes/html-to-figma",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-25T01:47:18.207Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-02-25T01:47:18.207Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/darshjme-codes-html-to-figma/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to html-to-figma and adjacent AI workflows.