Skip to content

v1.0.0

Compare
Choose a tag to compare
@silentsoft silentsoft released this 29 Jan 17:02
· 11 commits to main since this release

Usage

Icon icon = SimpleIcons.get("simpleicons");

or creating instance explicitly like:

Icon icon = new SimpleiconsIcon();

Object Structure

Icon{
    title="Simple Icons",
    slug="simpleicons",
    hex="111111",
    source="https://simpleicons.org/",
    svg="<svg role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">...</svg>",
    path="M12 12v-1.5c-2.484 ...",
    guidelines="https://simpleicons.org/styleguide",
    license=License{
        type="...",
        url="https://example.com/"
    }
}

Slugs

Supported slugs can be found here.

Class Naming Exceptions

  • .NET is available as DotnetIcon.
  • /e/ is available as EIcon.
  • 1001Tracklists is available as OnethousandonetracklistsIcon.
  • 1Password is available as OnepasswordIcon.
  • 3M is available as ThreemIcon.
  • 42 is available as FourtytwoIcon.
  • 4chan is available as FourchanIcon.
  • 4D is available as FourdIcon.
  • 500px is available as FivehundredpxIcon.