{"repo":"aeirola/react-native-svg-app-icon","free":true,"listed":false,"github":"https://github.com/aeirola/react-native-svg-app-icon","clone":"git clone https://github.com/aeirola/react-native-svg-app-icon.git","description":"Generate all app icons for you React Native apps from a single SVG file","language":"TypeScript","stars":176,"topics":["react-native","svg","app-icon"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-svg-app-icon CLI tool for generating iOS and Android application launcher icons for React Native projects from a single SVG source file. Features include: - iOS – PNG icon generation - Android – vector drawable adaptive icon generation with PNG fallback - Android pre 8.0 – legacy square and circular icon generation Source foreground and background images are converted to platform-specific icons For more information on outputs, see the generated files docs. ➰ If you also want to use SVG images within your React Native application, you might want to check out react-native-svg-asset-plugin. Quick start Create a 108x108dp SVG file with your logo in the center 66dp. It should follow the Android adaptive icon guidelines. Then run the following command in your react native project root to generate all necessary images: You can add the generated files to your repo from this one-time run, or alternatively follow installation and usage instructions below to integrate icon generation in your build steps. Installation SVG rendering handled by the splendid sharp library, meaning no dependencies outside of npm are required. Requires node version 20, or later. Usage Prepare source file The source file should be a 108x108dp SVG with the main content within the center 66dp that follows the Android adaptive icon specification. For an example icon file, see example-rn/icon.svg . Or the official Figma Template. Generate icons Place your square 108x108 SVG app icon file named icon.sv","default_branch":null,"files":null,"tree":[],"storefront":"/r/aeirola","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aeirola/react-native-svg-app-icon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}