Skip to main content

Download icons from https://material.io in React Native icons format.

Project description

React Native Material Icons Downloader

Download icons from https://material.io in React Native icons format.

Getting started

usage: RNMaterialIcons.py [-h] -a ASSET [-n NAME] [-c COLOR] [-t THEME]
                          [-s SIZE] [-d DIR]

optional arguments:
  -h, --help            show this help message and exit
  -a ASSET, --asset ASSET
                        Asset name.
  -n NAME, --name NAME  Asset new name.
  -c COLOR, --color COLOR
                        Asset color (default: white)
  -t THEME, --theme THEME
                        Asset theme (default: round)
  -s SIZE, --size SIZE  Asset size (default: 24)
  -d DIR, --dir DIR     Directory where asset will be downloaded (default:
                        current)
  -p PLATFORM, --platform PLATFORM
                        Assets platform target (default: none)

Examples

$ ./RNMaterialIcons.py -a account_cicle -c white -d /home/user/project/icon
$ ./RNMaterialIcons.py -a bookmarks -c black -d /home/user/project/icon -t baseline -n bookmark
$ ./RNMaterialIcons.py -a info -c white -s 48

You can download the same icon and different size for each platform:

$ ./RNMaterialIcons.py -a check -p android -s 24
$ ./RNMaterialIcons.py -a check -p ios -s 48

This will generate

check.android.png (24dp)
check.ios.png (48dp)
check@1x.android.png (24dp)
check@1x.ios.png (48dp)
check@2x.android.png (24dp)
check@2x.ios.png (48dp)
check@3x.android.png (24dp)
check@3x.ios.png (48dp)
check@4x.android.png (24dp)
check@4x.ios.png (48dp)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for react-native-material-icons, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size react_native_material_icons-0.0.2-py3-none-any.whl (2.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size react_native_material_icons-0.0.2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page