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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for react_native_material_icons-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08fc93fa20fa0f14e31ffc0c82759c8461b8d48d9e68699441cae5fbcdfd9613 |
|
MD5 | 2769c2940a9c248c1011d86a94650619 |
|
BLAKE2b-256 | 91da945b8480911b1b6e8d87678f33b7d35afde30689b662c3451a6fbdd8d624 |
Close
Hashes for react_native_material_icons-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b71c963d844bb5c3172976f49893d06398088d905e2cbe8b65b74ed9973198 |
|
MD5 | cd85cf5dc6d92d409d339a0d49a25452 |
|
BLAKE2b-256 | abce2085882d842f38a08c0800120b50d04f0e96b5153c2ed678c2b412ae26e1 |