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.

Source Distribution

react_native_material_icons-0.0.2.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file react_native_material_icons-0.0.2.tar.gz.

File metadata

  • Download URL: react_native_material_icons-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for react_native_material_icons-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3f2abd22081a59c47637fa7850b52b57cfdaffd084d8f5e5b3fc5ae6e3a9dfca
MD5 257078b34a1c14723eeea367a4fa6342
BLAKE2b-256 9beffc95b36cbcef483e9268bfe56e30c96160490ee42d029e4c2c8e8af9b8e9

See more details on using hashes here.

File details

Details for the file react_native_material_icons-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: react_native_material_icons-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for react_native_material_icons-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ddd2a9b18749833908aa83a897671fbf7f7d4e91543d134b4150cdf57b05a4a0
MD5 2d922b0ac86d0856c9d3484f3dbad28c
BLAKE2b-256 4d853d465ad0f604d8b292c9dceb24ad4d346baa3ab24822575fd5e0eb518ed4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page