An icon font is a special font where each character is a small picture instead of a letter. Icon fonts give you sharp, scalable icons that can be coloured and styled with CSS just like text. The J1 Template includes several popular icon fonts ready to use.
The following icon sets are available out-of-the-box:
MDI and FA are widely used and offer thousands of icons for many topics. See the sections Material Design Icons and FontAwesome Icons for examples and details.
| MDI and FA icons are bundled with the J1 Template — they live on your own website. Iconify icons are different: they are loaded over the Internet on demand from a remote service. See the [Iconify-Framework Icons] section for more. |
Material Design Icons
Material Design Icons (MDI) is the main icon set in the J1 Template. With more than 7,200 icons (as of version 7, March 2023), it covers nearly every topic you can think of.
MDI follows the Material Design style created by Google and includes Google’s own original icon set. It is a community project, which means new icons are added all the time.
| Size | Modifier | Markup | Render |
|---|---|---|---|
1x | no modifier set | All icons can be found for preview at the Font Icon Picker page online. No modifiers | |
3x | no modifier set | All icons can be found for preview at the Font Icon Picker page online. No modifiers | |
5x | no modifier set | All icons can be found for preview at the Font Icon Picker page online. No modifiers | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Rotate 45 degrees | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Rotate 315 degrees | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Color set to (md) light-grey and flipped vertical | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Color set to (md) indigo | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Color set to (md) pink | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Added animation of type rotate (spin) | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Color set to (md) color dark-red and added animation of type pulsed |
You can place an MDI icon anywhere in your text by using the inline macro mdi:. For more details, see Asciidoc Extensions.
| The J1 Template ships with the full MDI icon set. Everything is already set up — there is nothing extra to install. |
Light Material Design Icons
Material Design Light Icons (MDIL) is a lighter, thinner version of MDI. The icons have the same Material Design style but with finer strokes. The set is smaller than MDI — around 260 icons in the latest version.
| Size | Modifier | Markup | Render |
|---|---|---|---|
1x | no modifier set | All icons can be found for preview at the Font Icon Picker page online. No modifiers | |
3x | no modifier set | All icons can be found for preview at the Font Icon Picker page online. No modifiers | |
5x | no modifier set | All icons can be found for preview at the Font Icon Picker page online. No modifiers | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Rotate 45 degrees | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Rotate 315 degrees | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Color set to (md) light-grey and flipped vertical | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Color set to (md) indigo | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Color set to (md) pink | |
5x |
| All icons can be found for preview at the Font Icon Picker page online. Color set to (md) color dark-red and added animation of type pulsed |
FontAwesome Icons
FontAwesome is a popular CSS-based icon toolkit, originally created by Dave Gandy. Earlier versions (up to V4) were used mainly with older Bootstrap, but FontAwesome V5 (released December 2017) works with every modern web framework. The free version of V5 includes more than 1,400 icons.
FontAwesome V5 comes in two flavours:
-
FontAwesome Free — about 900 icons, free for any use,
-
FontAwesome Pro — the full set with 2,300+ icons, requires a paid licence.
The free versions (everything up to V4 and the V5 Free package) are licensed under SIL Open Font License 1.1, Creative Commons Attribution 4.0, and the MIT License. The J1 Template includes the Free version of FontAwesome V5 — no extra setup needed.
| The J1 Template extends the FontAwesome V5 CSS so the same class names work for all the icon sets. For example, the FA class |
You can browse all the available icons at FontAwesome Icons.
| If you have used FontAwesome V4 before, please note that V5 is different in many ways — not just a face-lift. We recommend reading the Get started pages to learn the basics and feature changes of the current version. |
In V5, FontAwesome icons are split into two groups:
-
Standard icons (FAS) — general-purpose icons,
-
Brand icons (FAB) — logos and symbols for companies and brands.
| You can use FontAwesome icons in AsciiDoc with the inline macros |
Examples of both sets follow below.
Brand icons
| Size | Modifier | Markup | Render |
|---|---|---|---|
2x | no modifier set | ||
5x |
| All icons can be found for preview at the FA Gallery page online. Color blue |
Standard icons
| Size | Modifier | Markup | Render |
|---|---|---|---|
1x | no modifier set | ||
3x | no modifier set | ||
5x | no modifier set | ||
5x |
| All icons can be found for preview at the FA Gallery page online. Rotate 90 degrees | |
5x |
| All icons can be found for preview at the FA Gallery page online. Color set to MD Indigo | |
5x |
| All icons can be found for preview at the FA Gallery page online. Color set to MD Pink | |
5x |
| All icons can be found for preview at the FA Gallery page online. Color set to MD Light (Grey) | |
5x |
| All icons can be found for preview at the FA Gallery page online. Orientation is set to flipped vertical | |
5x |
| All icons can be found for preview at the FA Gallery page online. Color set to MD dark red and flipped vertical | |
5x |
| All icons can be found for preview at the FA Gallery page online. Added animation of type spin (rotate) | |
5x |
| All icons can be found for preview at the FA Gallery page online. Color set to MD dark red and added animation of type pulsed |
Iconify framework icons
What if you need an icon that is not in MDI or FontAwesome — a specific brand icon, a niche topic? Iconify is a service that solves this problem. It is a single, online icon library that brings together icons from many different sets.
The J1 Template includes the Iconify JavaScript client out of the box. The client is only loaded when you actually use an Iconify icon, so it does not slow down pages that do not need it. To browse the available icons, visit Iconify Icon Sets.
| Using Iconify icons with the J1 Template is easy. The inline macro |
Iconify currently offers more than 40,000 vector icons covering many topics. A few examples are shown below.
| Size | Modifier | Markup | Render |
|---|---|---|---|
3x | no modifier set | All icons can be found for preview at SVG Logos page online. No modifiers | |
3x | no modifier set | All icons can be found for preview at SVG Logos page online. No modifiers | |
3x | no modifier set |
| Size | Modifier | Markup | Render |
|---|---|---|---|
3x | no modifier set | All icons can be found for preview at Medical Icons page online. No modifiers | |
5x |
| All icons can be found for preview at Medical Icons page online. Color (md) red |
What next
We hope you enjoyed seeing what icons can do. With MDI, FA, and Iconify together, you have access to tens of thousands of icons — something for almost every topic.
The J1 Template adds a number of AsciiDoc extensions that make writing pages easier. With these extensions you can place icons, lightboxes, sliders, and galleries on a page using simple AsciiDoc markup — no need for raw HTML. The result is less code to write and more readable pages.
Want to see them all? Continue with Asciidoc Extensions.