All Projects → levrik → Mdi React

levrik / Mdi React

Licence: other
Material Design Icons for React/Preact packaged as single components

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mdi React

Android Switchicon
Google launcher-style implementation of switch (enable/disable) icon
Stars: ✭ 2,337 (+1897.44%)
Mutual labels:  material, icons
Android Dev
⚡️ Curated list of resources for Android app development. Prepare for battle!
Stars: ✭ 44 (-62.39%)
Mutual labels:  material, icons
Rplibs
Refs.cn 原型设计元件库,基于Axure RP 10/9/8,支持 Android、Apple、Windows、微信,移动、桌面平台的应用和网站原型设计。五年历程 2.6k+ star,感谢大家使用。
Stars: ✭ 2,622 (+2141.03%)
Mutual labels:  material, icons
Styled Icons
💅 Popular icon packs like Font Awesome, Material Design, and Octicons, available as React Styled Components
Stars: ✭ 1,878 (+1505.13%)
Mutual labels:  material, icons
Material Design Icons
Material Design Icons
Stars: ✭ 90 (-23.08%)
Mutual labels:  material, icons
Iconshowcase Dashboard
A full-of-features, easy-to-customize, free and open source, Material Design dashboard for icon packs.
Stars: ✭ 197 (+68.38%)
Mutual labels:  material, icons
Blueprint
Free, feature-rich, easily customizable Android dashboard for icon packs
Stars: ✭ 389 (+232.48%)
Mutual labels:  material, icons
La Capitaine Icon Theme
La Capitaine is an icon pack designed to integrate with most desktop environments. The set of icons takes inspiration from the latest iterations of macOS and Google's Material Design.
Stars: ✭ 1,858 (+1488.03%)
Mutual labels:  material, icons
A File Icon Idea
Atom File Icons plugin for IntelliJ IDEA products
Stars: ✭ 90 (-23.08%)
Mutual labels:  material, icons
Mahapps.metro.iconpacks
Awesome icon packs for WPF and UWP in one library
Stars: ✭ 1,157 (+888.89%)
Mutual labels:  material, icons
reiconify
Convert SVG icons to React components eg.: https://ambar.li/reiconify/md.icons/#/Browse
Stars: ✭ 17 (-85.47%)
Mutual labels:  material, icons
Notion Icons 2.0
Create a more vibrant and modern workspace. Use Github Issues to request more Icons.
Stars: ✭ 93 (-20.51%)
Mutual labels:  material, icons
Youtube Play Icon
Material style morphing play-pause drawable for Android
Stars: ✭ 57 (-51.28%)
Mutual labels:  material, icons
Iconshowcase
Full-of-features, easy-to-customize, free and open source, Material Design dashboard for icon packs.
Stars: ✭ 91 (-22.22%)
Mutual labels:  material, icons
Material Design Icons
Material Design icons by Google
Stars: ✭ 44,551 (+37977.78%)
Mutual labels:  material, icons
Icons
Material Design inspired product icons
Stars: ✭ 110 (-5.98%)
Mutual labels:  icons
Speculid
Easily Manage Graphics in Xcode Projects
Stars: ✭ 115 (-1.71%)
Mutual labels:  icons
Reicons
💅 Bundle your SVG into a fully customized React components
Stars: ✭ 110 (-5.98%)
Mutual labels:  icons
Ticons Cli
Command-Line version of TiCons for generating icons and splash screens for Titanium & Alloy projects.
Stars: ✭ 109 (-6.84%)
Mutual labels:  icons
Tabler Icons
A set of over 1400 free MIT-licensed high-quality SVG icons for you to use in your web projects.
Stars: ✭ 10,858 (+9180.34%)
Mutual labels:  icons

mdi-react npm package Material Design Icons version build status

Material Design Icons for React/Preact packaged as single components

New v7.3.0 released: See CHANGELOG.md

Installation

npm install mdi-react
# or if you use Yarn
yarn add mdi-react

Support for Preact is available via the mdi-preact package.
The mdi-preact package supports class as alternative to className.

Usage

Just search for an icon on materialdesignicons.com and look for its name.
The name translates to PascalCase followed by the suffix Icon in mdi-react.
Also it's possible to import with an alias. You can find them on the detail page of the respective icon.

For example the icons named alert and alert-circle:

import AlertIcon from 'mdi-react/AlertIcon';
import AlertCircleIcon from 'mdi-react/AlertCircleIcon';

const MyComponent = () => {
  return (
    <div>
      {/* The default color is the current text color (currentColor) */}
      <AlertIcon color="#fff" />
      {/* The default size is 24 */}
      <AlertCircleIcon className="some-class" size={16} />
      {/* This sets the icon size to the current font size */}
      <AlertIcon size="1em" />
    </div>
  );
};

To change the color on hover you can just use your own class and plain CSS.

.some-class:hover {
  fill: red;
}

You can also add default styling via the mdi-icon class.

.mdi-icon {
  background-color: green;
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].