Code Monkey home page Code Monkey logo

material-icons's Introduction

material-icons

This crate contains the auto-generated mapping from an icon name (such as Icon::NetworkWifi) to the character codepoint \u{e1ba}) in Googles Material Icon Font (https://material.io/tools/icons/) - useful if you want to use the material-icons font in user interfaces created in Rust

Example

use material_icons::{Icon, icon_to_char};
let icon_char = icon_to_char(Icon::Rotation3d);
assert_eq!('\u{e84d}', icon_char);

When the resulting character is displayed using any font renderer, the character will result in the "3d_rotation" glyph.

License (please read - regarding embedded font)

According to https://github.com/google/material-design-icons/blob/master/LICENSE (retrieved 23-10-2018) the font data embedded in this library is licensed under the Apache 2.0 license, which explains the license for this crate.

You do not need to attribute Google (although they appreciate it):

"We have made these icons available for you to incorporate into your products under the Apache License Version 2.0. Feel free to remix and re-share these icons and documentation in your products. We'd love attribution in your app's about screen, but it's not required. The only thing we ask is that you not re-sell these icons."

material-icons's People

Contributors

fschutt avatar ludivine-ottini avatar ryanw avatar

Watchers

 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.