This package has been deprecated

Author message:

Package replaced by react-native-svg-app-icon and react-native-svg-asset-plugin

react-native-icon-builder

0.0.7 • Public • Published

react-native-icon-builder

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

/react-native-icon-builder/

    Package Sidebar

    Install

    npm i react-native-icon-builder

    Weekly Downloads

    1

    Version

    0.0.7

    License

    none

    Unpacked Size

    14 kB

    Total Files

    5

    Last publish

    Collaborators

    • aeirola