ionicons-css
v5.2.2
Published
Ionicons CSS version without js dependencies
Downloads
928
Readme
ionicons-css
Ionicons CSS only version without any JavaScript dependencies
Installation
- Use npm or yarn install
- Download zip folder from GitHub
- Use unpkg, jsdeliver or other npm discovery CDNs
How to use
Add link to css file (download or use CDN version) from your html pages and use the prefix icon-
followed by the icon name. See examples below.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/icon.css">
<!-- or -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/icon.css">
...
<i class="icon-NAME_OF_ICON_AS_APPEARS_ON_IONICONS_WEBSITE_HERE"></i>
<!-- for instance text can be represented as below -->
<i class="icon-text"></i>