rafaeltonholo/svg-to-compose
Convert SVG and Android Vector Drawables (XML) into Jetpack Compose ImageVector code. CLI, Gradle plugin, and online playground. Kotlin Multiplatform supported.
This suite of tools helps Android developers easily integrate vector graphics into their Jetpack Compose applications. It takes SVG or Android Vector Drawable (XML) files as input and converts them into Kotlin ImageVector code. This streamlines the process of using custom icons and scalable graphics within Compose UI, directly in the app's codebase.
185 stars.
Use this if you are an Android developer building a Jetpack Compose application and need to convert existing SVG or Android Vector Drawable files into optimized Kotlin code for your UI.
Not ideal if you are not an Android developer, do not use Jetpack Compose, or only need to display simple raster images rather than scalable vector graphics.
Stars
185
Forks
9
Language
Kotlin
License
MIT
Category
Last pushed
Apr 04, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/rafaeltonholo/svg-to-compose"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Dav1dde/glad
Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
Aleph-Alpha/ts-rs
Generate TypeScript bindings from Rust types
apollographql/apollo-tooling
✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
mmcloughlin/avo
Generate x86 Assembly with Go
krzysztofzablocki/Sourcery
Meta-programming for Swift, stop writing boilerplate code.