Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

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

Packages

No packages published