material-design-icons-react-svg

1.0.1 • Public • Published

Material Design Icons React components

Material design icons as React components.

This project exports the SVG icons from https://github.com/google/material-design-icons as React components, intended to be used on the web.

Example usage

import React from "react";
import { Add, BatteryFull } from "material-design-icons-react-svg";

// Find icons at: https://material.io/resources/icons/
const IconList = () => {
  return (
    <ul>
      <li>This is the add icon: <Add /></li>
      <li>This is the battery_full icon: <BatteryFull /></li>
    </ul>
  );
}

export default IconList;

The icons are named the same their files, with ic_ and the size at the end (e.g. _24px) stripped off and in CamelCase. The one exception is the icon 3d_rotation, which is named ThreeDRotation in this project.

Readme

Keywords

none

Package Sidebar

Install

npm i material-design-icons-react-svg

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

531 kB

Total Files

963

Last publish

Collaborators

  • hrparty