material-design-icons 7.4.48

Material Design Icons in the form of string constants
Documentation
  • Coverage
  • 0%
    0 out of 7448 items documented0 out of 0 items with examples
  • Size
  • Source code size: 2.85 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 192.68 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 42s Average build duration of successful builds.
  • all releases: 38s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ramiroaisen/rust-material-design-icons
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ramiroaisen

Material Design Icons for Rust

This crate provides Material Design Icons as string constants, making it easy to integrate these icons into your Rust projects.

The crate is automatically published to crates.io using a GitHub Action every time there's a new version of @mdi/js npm package. Ensuring that you have access to the latest icons from mdi.

Versions of this crate are automatically synced with the versions of @mdi/js npm package.

Features

  • Access Material Design Icons as string constants.
  • Lightweight and dependency-free.
  • Compatible with any Rust version.

Installation

cargo add material-design-icons

Usage

To use the icons in your project, simply import the crate and access the constants: The constants refer to the attribute for SVG icons.

/// Example for a Leptos/Sycamore DOM like framework, adjust it according to your needs.
use material_design_icons as mdi;

#[component]
fn App() -> View {
  view! {
    <svg viewBox="0 0 24 24">
      <path d=mdi::CHECK />
    </svg>
  }
}

Repository

The source code for this crate is available on GitHub.

License

This project is dual-licensed under either: