svg-to-swiftui-core
JSON →svg-to-swiftui-core v0.4.0 is a JavaScript/TypeScript library that converts raw SVG code into SwiftUI Shape structs that can be directly used in SwiftUI projects. It currently supports SVG <path> (partial), <circle>, <rect>, and <ellipse> elements. The package depends on svg-parser and svg-pathdata for parsing. It is designed for Node.js environments and provides an ESM-only API via the default export. The library is in early development (pre-1.0) with limited command support and no styling or animation features.
Resources
packagesvg-to-swiftui-core ↗
API endpoints
full doc /v1/registry/svg-to-swiftui-core