https://github.com/silentsoft/simpleicons4j
:framed_picture: SimpleIcons4J is a Java implementation of the simple-icons JavaScript library and is inspired by simpleicons.org.
https://github.com/silentsoft/simpleicons4j
simple-icons svg svg-icons
Last synced: 3 months ago
JSON representation
:framed_picture: SimpleIcons4J is a Java implementation of the simple-icons JavaScript library and is inspired by simpleicons.org.
- Host: GitHub
- URL: https://github.com/silentsoft/simpleicons4j
- Owner: silentsoft
- License: apache-2.0
- Created: 2022-01-29T15:27:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-04-20T00:08:35.000Z (3 months ago)
- Last Synced: 2026-04-20T02:30:37.007Z (3 months ago)
- Topics: simple-icons, svg, svg-icons
- Language: Java
- Homepage:
- Size: 470 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# SimpleIcons4J
[](https://search.maven.org/artifact/org.silentsoft/simpleicons4j)
[](https://app.travis-ci.com/silentsoft/simpleicons4j)
[](https://sonarcloud.io/dashboard?id=silentsoft_simpleicons4j)
[](https://sonarcloud.io/dashboard?id=silentsoft_simpleicons4j)
[](https://hits.sh/github.com/silentsoft/simpleicons4j/)
`SimpleIcons4J` is a Java implementation of the [simple-icons](https://www.npmjs.com/package/simple-icons) JavaScript library and is inspired by [simpleicons.org](https://simpleicons.org).
## Usage
```java
Icon icon = SimpleIcons.get("simpleicons");
```
or creating instance explicitly like:
```java
Icon icon = new SimpleiconsIcon();
```
## Object Structure
```
Icon{
title="Simple Icons",
slug="simpleicons",
hex="111111",
source="https://simpleicons.org/",
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](slugs.md).
## Testing
```shell
$ mvn clean test-compile exec:java test
```
## Packaging
```shell
$ mvn clean test-compile exec:java package
```
## Contributing
Pull 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](https://github.com/silentsoft/simpleicons4j/blob/main/CODE_OF_CONDUCT.md), please follow it in all your interactions with the project.
## License
Please refer to [LICENSE](https://github.com/silentsoft/simpleicons4j/blob/main/LICENSE.txt).