The free SVG to Compose Image Vector converter by Composables lets you upload any SVG file and turn it to Compose vectors in seconds.
Click on the Upload SVG button and select the SVG files you would like to convert. Shortly after your vectors will be converter into Kotlin code that you can use in your Jetpack Compose and Compose Multiplatform applications. Click Download to download all vectors to your computer.
One you have converted your SVG files to Compose Image Vectors, you can use them using the Image
composable. Better yet, use the Icon
composable from Compose Unstyled which provides utilities such as tinting your icons.
The Image
composable is used to display images in your apps. It comes with customization to content scale. Icon is focused on rendering icons and comes with customization around tinting.
Use the SVG to Compose tool in this page to convert your SVG to an ImageVector. You can then use your vector in the Image or Icon composable
Send me a message on X so that I can have a look