Icon Images
Last updated
Last updated
Font Awesome is a popular icon library that provides a wide variety of scalable vector icons that can be customized (size, color, drop shadow, etc) using CSS. It is designed to be used with web projects and it's an easy way to add scalable vector icons and social logos to your website.
A common usage of icons in our applications is for the buttons in the Toolbar of a webpage:
Open the following link: https://fontawesome.com/v5/download
Download the latest free version for the web***
Store the downloaded files in the folder "Plugins" > "fontsome" (Create the file if it does not exist yet)
Add the following line of code in the "Layout.cshtml" file of the project:
The following describes the process of putting an arrow icon on a "Refresh" Button, so that it looks like this:
First, go to the Font Awesome webpage and search for "arrow". After finding the right arrow icon, click on it and the following window pops up containing the code for the arrow icon:
Then, insert this code into the line for the "Refresh" Button, placed right before the Text that says "Refresh" because this is where it should be displayed on the Button:
The following describes the process of putting a clickable list icon in every of a column of a Data Table, so that it looks like this:
First, go to the Font Awesome webpage and search for "list". After finding the right arrow icon, click on it and the following window pops up containing the code for the list icon:
Then, insert this code into the line for the first column of the Table body, placed right between the <a> tags: