iconoir/css
2025-04-12 16:34:37 +00:00
..
iconoir-regular.css Release Version v7.11.0 2025-04-12 16:34:37 +00:00
iconoir-solid.css Release Version v7.11.0 2025-04-12 16:34:37 +00:00
iconoir.css Release Version v7.11.0 2025-04-12 16:34:37 +00:00
README.md Refactor Lint/Format Setup (#499) 2024-12-17 00:25:26 +01:00

Iconoir - CSS

Import the CSS file:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css" />

Here is an example in HTML:

<i class="iconoir-hand-brake"></i>

The class must always be "iconoir-" and then the name of the icon. You can find the names of the icons here.

The icons are display: inline-block and default to the current font size. You can control this by adjusting the ::before styles of the element (which is where the icons are added as a mask).