An open API service indexing awesome lists of open source software.

https://github.com/overpas/svg-to-compose-intellij

A simple Android Studio plugin to generate Jetpack Compose ImageVector icons and preview them
https://github.com/overpas/svg-to-compose-intellij

android android-studio-plugin icons jetpack-compose

Last synced: 2 days ago
JSON representation

A simple Android Studio plugin to generate Jetpack Compose ImageVector icons and preview them

Awesome Lists containing this project

README

          

# svg-to-compose-intellij
[![Build](https://github.com/overpas/svg-to-compose-intellij/actions/workflows/build.yml/badge.svg)](https://github.com/overpas/svg-to-compose-intellij/actions/workflows/build.yml)
[![Check IDE compatibility](https://github.com/overpas/svg-to-compose-intellij/actions/workflows/verify.yml/badge.svg)](https://github.com/overpas/svg-to-compose-intellij/actions/workflows/verify.yml)

A simple Android Studio plugin to generate Jetpack Compose ImageVector icons. In fact, it's a wrapper around the [svg-to-compose](https://github.com/DevSrSouza/svg-to-compose) tool. Also, allows to preview the generated icons.

## Installation
Install from [Jetbrains Marketplace](https://plugins.jetbrains.com/plugin/18619-svg-to-compose)

## 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.