Iconify icons for java.
see iconify website for all available icon sets.
The animated icons in the sets do not work (yet)
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());
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);
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