Skip to content

v0.1.0

Choose a tag to compare

@Natumsol Natumsol released this 09 Oct 08:48
· 20 commits to master since this release

html2figma v0.1.0

Convert rendered browser DOM into a portable AST, then create editable layers in a Figma plugin.

Highlights

  • Separate html2figma/convert and html2figma/render entrypoints, with a portable root schema and JSON validation.
  • Support for common HTML structure and visual CSS, including editable text, images, inline SVG, canvas snapshots, video posters, borders, shadows, and supported Flex layouts.
  • Figma plugin and Chrome extension examples for rendering HTML blocks and importing page or selection JSON.
  • Browser, unit, and built UI E2E coverage, plus 37 real Figma visual acceptance cases. The README includes all 37 Chromium/Figma screenshot pairs and documents unsupported or partial features.

See the English README or 简体中文 README for usage, coverage, and current limits.

This release is available on npm and GitHub. Install it with npm install html2figma@0.1.0. The README bundled with v0.1.0 still contains the earlier GitHub-only release note; that sentence is outdated. See the current English README or current Chinese README for the publishing workflow.