This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Fast SVG, rendered with virtual DOM diffing
version 2.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.0.0
Committed At 2016-10-07 21:25:18 UTC
elm-lang/virtual-dom 2.0.0 <= v < 3.0.0 2.0.4
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1


SVG in Elm

Use SVG in Elm.

This library is built on elm-lang/virtual-dom which handles the dirty details of rendering things quickly.

The best way to learn how to use this library is to read, particularly the section on The Elm Architecture. Using SVG is just like using HTML, you just have different tags.

Note: This library aims to be the most basic API. In some cases it is possible to use union types to build nicer abstractions, but this starts bringing personal taste into things and has some additional maintainance cost if the underlying spec changes. I think it is best to build such abstractions on top of this library as a separate package.