Skip to content

MrKuip/Iconify4J

Repository files navigation

Iconify4J

Iconify icons for java.
see iconify website for all available icon sets.
The animated icons in the sets do not work (yet)

JavaFX examples

Example adding graphics to Button and Label
Learn about size(), color() properties.

    button = new Button("", new FxIcon("mdi-filter").getNode());
    label = new Label("", new FxIcon("ant-design-filter-twotone").size(IconSize.BIG).getNode());
    button3 = new Button("", new FxIcon("streamline-ultimate-color-filter-1").size(IconSize.HUGE).color(Color.PURPLE).getNode());
    
image

Example adding badges to an Icon
Learn about addBadge() method.

    closeIcon = new FxIcon("mdi-close-thick").color(Color.RED).size(48.0);
    filterIcon = new FxIcon("mdi-filter").size(96.0);
    filterIcon.addBadge(IconAlignment.LOWER_RIGHT, closeIcon);
    
image

IconViewer

All icons can be viewed and filtered with the JavaFX appication 'IconViewer'. Clone the repository and execute 'gradlew run' to inspect all available icon sets:

    git clone https://github.com/MrKuip/Iconify4J.git
    ./gradlew run
image

About

Iconify icons for java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages