NoRedInk/noredink-ui/7.21.0

NOTE: the latest version is 35.9.3

Nri.Ui.Svg.V1

type Svg

Opaque type describing a non-interactable Html element.

withColor : Color -> Svg -> Svg
withLabel : String -> Svg -> Svg

Add a string aria-label property to the element.

See Using the aria-label attribute for guidelines of when and how to use this attribute.

withWidth : Px -> Svg -> Svg
withHeight : Px -> Svg -> Svg
fromHtml : Html Never -> Svg

Tag html as being an svg.

toHtml : Svg -> Html msg

Render an svg.

Modules