Hope you are well. This post is a response to many of my friends asking me how to use ionicons in Ionic 2. Its quite simple actually and I will explain how to do it in few simple steps.
Download ionicons from here. Extract the contents to any location, open it and copy the contents of the scss folder.
Create a directory called icons inside your project’s app folder and paste the copied files inside this directory as shown below.
Open up the app.core.scss file inside the theme directory and add the below line of code in it.
That’s it; you are set to go.
Now just open up your html files and add icons using the <ion-icon> tag.
//Or if you want a button
<button fab><ion-icon name="home"></ion-icon></button>
Hope this helps you. Thanks for reading. Have a nice day. Peace..