Code Monkey home page Code Monkey logo

umbraco-mdi-icons's Introduction

umbraco-mdi-icons

Add Material Design Icons to your Umbraco website with this easy to use data-type.

Why

Material icons is used for many of our Umbraco based sites. After a lot of copy and pasting of mdi-* classes into view markup, we developed a custom data-type to do this tedious "icon-to-class" selection via a user friendly back office extension for Umbraco.

Features

This data-type extends the Umbraco back office to give you the following inline functionality:

  • Easy to use icon browser
  • Reactive text based icon search
  • Top 20 icon matches shown
  • Icon reset switch
  • Toggle browse button

Material Design Icon data type for Umbraco in the back office Material Design Icon data type for Umbraco has reactive search

Installation

Umbraco Material Design Icons can be installed via Nuget:

Install-Package Mooce.UmbracoMdiIcons

Alternatively, you can download the project source and copy the contents of /src/App_Plugins to the /App_Plugins directory of your Umbraco based project.

Usage

Once installed, navigate to the Developer section of Umbraco's back office. Create a custom data type, and select Mooce.MdiIconPicker from the list of availbe data-types. Once created, your new Mooce.MdiIconPicker data-type will be available for use when creating or updating Document Types.

Ensure the Material Design Icons (version 2.5.94) CSS is linked in your project template(s):

<link rel="stylesheet" href="//cdn.materialdesignicons.com/2.5.94/css/materialdesignicons.min.css">

The Mooce.MdiIconPicker data-type stores data as a string. Using the data-type is in your view markup is as simple as this:

<i class="mdi @(Model.Content.MyIcon)"></i>

umbraco-mdi-icons's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.