Open Iconic provides webfont stylesheets for standalone use or integration with Bootstrap and Foundation frameworks.
Standalone Usage
Include the default stylesheet and use the oi class with the data-glyph attribute.
- Link the CSS:
<link href="/open-iconic/font/css/open-iconic.css" rel="stylesheet">
- Use the icon:
<span class="oi" data-glyph="icon-name" title="icon name" aria-hidden="true"></span>
Bootstrap Integration
Use the Bootstrap-specific stylesheet and the oi oi-icon-name class pattern.
- Link the CSS:
<link href="/open-iconic/font/css/open-iconic-bootstrap.css" rel="stylesheet">
- Use the icon:
<span class="oi oi-icon-name" title="icon name" aria-hidden="true"></span>
Foundation Integration
Use the Foundation-specific stylesheet and the fi-icon-name class pattern.
- Link the CSS:
<link href="/open-iconic/font/css/open-iconic-foundation.css" rel="stylesheet">
- Use the icon:
<span class="fi-icon-name" title="icon name" aria-hidden="true"></span>