SVG-to-SwiftUI icon indicating copy to clipboard operation
SVG-to-SwiftUI copied to clipboard

Tool to convert SVG to SwiftUI's Shape structure.

Results 8 SVG-to-SwiftUI issues
Sort by recently updated
recently updated
newest added

**Describe the bug** SVG rectangles with the `rx` attribute are converted to rectangles without rounded corners. **To Reproduce** ```svg ``` ```swift struct IconMinusShape: Shape { func path(in rect: CGRect) ->...

enhancement

### Sample SVG: ```svg ``` ### Return value: ```swift struct MyCustomShape: Shape { func path(in rect: CGRect) -> Path { var path = Path() let width = rect.size.width let height...

bug

Sample SVG: ``` ``` Return value: ``` struct MyCustomShape: Shape { func path(in rect: CGRect) -> Path { var path = Path() let width = rect.size.width let height = rect.size.height...

enhancement

**Describe the bug** The shape has a few empty areas around lines but in SwiftUI those get filled. **SVG code which does not work with this tool** ![gold](https://github.com/quassum/SVG-to-SwiftUI/assets/18574607/3ca1d5b2-827e-4ce9-9a28-d3355ffb4a5c)

bug

There is a y axis offset while converting, such as: ``` ```

When I upload a multicolor SVG icon it couldn't convert colors.

enhancement

**SVG render** **SwiftUI render** **SVG** ```svg ``` **SwiftUI** ```swift struct MyCustomShape: Shape { func path(in rect: CGRect) -> Path { var path = Path() let width = rect.size.width let height...

Added handler for drawing polygon elements from SVG content