Skip to content

Import basic non-path SVG primitives #388

Description

@mezotv

Problem

Kiwi currently imports SVG geometry by querying path elements only. SVG primitives like circle, rect, line, polyline, polygon, and ellipse are dropped unless the source has already converted them to paths.

Impact

Many logos and icon sets render incomplete when copied to Figma.

Suggested scope

  • Convert supported primitives into vector network geometry during DOM extraction.
  • Preserve fill/stroke semantics from the element and inherited SVG attributes.
  • Add smoke coverage for at least circle, rect, line, polyline, polygon, and ellipse.

Linear issue: NOT-73

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions