Installation

To use Glyphicons for MVC Razor Tools in your projects install this package into your project from NuGet using the command Install-Package Mvc.RazorTools.Glyphicons in the Package Manager Console.

Sample Page

To view live samples visit http://glyphicons.porrey.net (right-click these links to open in a new window).

Simple Usage

This library uses simple syntax to display an icon. IntelliSense on the GlyphiconsSet will reveal the full list of icons available.

@Html.Glyphicons(GlyphiconsSet.Star)


To create a large icon use

@Html.Glyphicons(GlyphiconsSet.Star.Large())


A full set of styles can be seen via IntelliSense on the GlyphiconsSet class.



Last edited Jan 22, 2014 at 10:12 AM by porrey, version 1