CodingBubble
Convert SVG to Compose

VectorDrawable vs ImageVector

Android Studio commonly converts SVGs to VectorDrawable XML. Compose can use that, but ImageVector keeps custom icons in Kotlin and works naturally with Compose APIs.

VectorDrawable

Good for XML resource pipelines and apps that still share assets with Views.

ImageVector

Good for Compose-first codebases, reusable Kotlin icon objects, and direct use with Icon.

Create an ImageVector