Technically, it should be possible to use different backends to render a collage, but we only provide a Svg backend here.
svg : Collage msg -> Html msg
Take a collage and render it to Html using Svg.
It uses the automatically calculated envelope from the Collage.Layout module as the view box.
svgBox : ( Basics.Float, Basics.Float ) -> Collage msg -> Html msg
Render a collage as Svg in a view box of given width and height, and the origin in the center.
Maybe this will be removed from the next major version. Please open an issue if you want to keep this.
svgExplicit : List (Svg.Attribute msg) -> Collage msg -> Html msg
Take a collage and render it to Html using Svg explicitly specifying the HTML attributes of the element.