Skip to content

About

Elm port of the Simple Icons project data.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

elm-simple-icons

Over 3000 project and brand logos as flat SVG icons, from the Simple Icons project, packaged for easy use within Elm.

This package version matches Simple Icons v16.35.0.

Example use

import SimpleIcons
import Html exposing (Html)

-- Icon with default color and size.
SimpleIcons.elm
    |> SimpleIcons.toHtml []
    --: Html msg

-- Icon with custom color and size.
SimpleIcons.wikimediacommons
    |> SimpleIcons.withColor "#FF00FF"
    |> SimpleIcons.withSize "50px"
    |> SimpleIcons.toHtml []
    --: Html msg

See a small example project in the repository, or see the live Ellie.

Installation

elm install agj/elm-simple-icons

Make sure to read the package documentation!

Changes

See CHANGELOG.md for all changes in each version released.

Disclaimer

This package only redistributes the content of the Simple Icons project in a format practical for Elm projects. The same legal disclaimer applies to this content, so please read it before you use the provided icons.

No AI slop policy

This project does not use LLMs or any form of generative AI, be it in whole or in part, for the authoring of its code or any of its related content, and will not accept such contributions. This policy does not necessarily reflect on the dependencies and tools used herein.

Please read the Open Slopware “Why not LLMs?” rationale to learn about the multitude of environmental, societal, political, ethical, cognitive, psychological, technical, economic, legal, and other issues that plague the use and development of this type of AI technology.

About

Elm port of the Simple Icons project data.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages