svg-to-compose-intellij

Detekt Test

A simple Android Studio plugin to generate Jetpack Compose ImageVector icons. In fact, it’s a wrapper around the svg-to-compose tool.

Installation

Install from Jetbrains Marketplace

Usage

  1. Open up a Jetpack Compose project
  2. Right click on a kotlin/java directory
  3. Select “Compose ImageVector” at the bottom
  4. Enter the necessary info to generate compose ImageVector icons: accessor name, vector image type, vector images directory, all assets property name. The output directory should be configured automatically.

GitHub

View Github