An open API service indexing awesome lists of open source software.

https://github.com/Hasnep/roc-svg

🖼️ A library to create SVGs in Roc
https://github.com/Hasnep/roc-svg

roc roc-lang svg

Last synced: about 1 year ago
JSON representation

🖼️ A library to create SVGs in Roc

Awesome Lists containing this project

README

          

# Roc SVG

A library to create SVGs in Roc.

## Example

This Roc code:

```roc
myCircle = Svg.circle [Attribute.cx "50", Attribute.cy "50", Attribute.r "50"] []
Svg.svg [Attribute.width "100", Attribute.height "100"] [myCircle] |> Svg.render
```

Returns this SVG:

```svg

```

## Licence

This repository is released under the [UPL licence](./LICENCE).