Adept.Svg is a fast and simple SVG library

Claim at first: this is not my library. Just found it for a while.

When people wants SVG in Phoenix, they use phoenix_inline_svg. But:

  • it’s not flexible, you can’t use it in multiple apps of a umbrella projects, because of the global configuration.
  • it parses SVG file at runtime, which make it slow. (a benchmark about this)

I think adept_svg is good package which solves all above problems.

Q: Why would you recommend a library which is not your own?
A: People in Elixir community are not like the people who can do publicity in other communities, such as JavaScript ;). I wanna share the good stuff with others…