Skip to content
This repository was archived by the owner on Sep 13, 2019. It is now read-only.

aeirola/react-native-icon-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-icon-builder

⚠️ Package has been deprecated in favor of react-native-svg-app-icon and react-native-svg-asset-plugin

Mobile app icon generator for React Native projects.

Features

  • Reads SVG, writes PNG
  • Supports generation of:
    • iOS icons
    • Android icons
    • React native images
  • Fast, using sharp
  • No non-npm dependencies

Usage

  1. Create config file icon-config.json

    {
      "assets": {
        "inputDir": "src/images",
        "outputDir": "src/images/generated"
      },
      "android": {
        "icon": "icons/android.svg",
        "outputDir": "android/src/main/res"
      },
      "ios": {
        "icon": "icons/ios.svg",
        "outputDir": "ios/AwesomeProject/images.xcassets"
      }
    }
  2. Generate images with

    react-native-icon-builder icon-config.json

About

Build app icons for your React Native project from SVG

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors