SimpleIcons4J is a Java implementation of the simple-icons JavaScript library and is inspired by simpleicons.org.
Icon icon = SimpleIcons.get("simpleicons");or creating instance explicitly like:
Icon icon = new SimpleiconsIcon();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/"
}
}
Supported slugs can be found here.
$ mvn clean test-compile exec:java test$ mvn clean test-compile exec:java packagePull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please note we have a CODE_OF_CONDUCT, please follow it in all your interactions with the project.
Please refer to LICENSE.