JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 405
  • Score
    100M100P100Q95367F

Material Design Icons for React Native

Package Exports

  • react-native-ico-material-design
  • react-native-ico-material-design/src/data

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-ico-material-design) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Material Design Icons for React Native

react-native-ico-material-design

423 Icons

Usage

import Icon from 'react-native-ico-material-design';


// Inside some view component
render() {
    return (
        <>
          <Icon name="add-label-button" />
          <Icon name="add-plus-button" height="40" width="40" />
          <Icon name="add-to-queue-button" color="red" />
        </>
    );
}

List of icons

Installation

yarn

yarn add react-native-ico-material-design react-native-svg

npm

npm install --save react-native-ico-material-design react-native-svg
react-native link react-native-svg

pod install ( for iOS )

cd ios && pod install && cd ..

API

<Icon name [color width height ...rest] />

Returns a SvgXml icon by name and group.

name optional default value description examples
name no name of file "add-label-button"
color yes line color, css style "#00ff00", "#0f0", "green"
width yes 20 width of the icon 40
height yes 20 height of the icon 40
...rest no other props style={{backgroundColor: "#00f"}}

Icons Made by

Dave Gandy

Created by

Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua