5.2.2 • Published 4 years ago

ionicons-css v5.2.2

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

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/ionicons-css@5.2.1/dist/icon.css">

<!-- or -->

<link rel="stylesheet" href="https://unpkg.com/ionicons-css@5.2.1/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>