How to add SVG in compose and change its color by ...
# compose-web
a
How to add SVG in compose and change its color by CSS color or fill param?
a
Is there some parser to parse svg from file to svg element?. Now i can build svg in this way:
Copy code
Svg (viewBox = "0 0 24 24", {
    attr("fill", "currentColor")
}){
    Path(...)
}
u
Artur, we are working on small yet important improvements for svg (like exactly what you’ve encountered - being able to just write fill etc.) as of your second question - no, we don’t have anything out of the box for parsing SVG and were going to rely on generic js solutions in that aspect.
👍 1