NoRedInk/noredink-ui/9.5.1

NOTE: the latest version is 35.9.3

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 9.5.1 found (15 same-name repos checked); no cached copy. Use another version.

Details

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
withCss : List Style -> Svg -> Svg

Css for the SVG's container.

fromHtml : Html Never -> Svg

Tag html as being an svg.

toHtml : Svg -> Html msg

Render an svg.