Is Material Design 3 available for compose for des...
# compose-desktop
r
Is Material Design 3 available for compose for desktop? I added the dependency to my build.gradle.kts and had a successful sync, but still get components from M2 instead of M3
e.g. DropdownMenu, DropdownMenuItem
Aha, found it. I was using the wrong group and artifact IDs. Instead of
androidx.compose.material3:material3
I needed
org.jetbrains.compose.material3:material3-desktop
a
you should use the built in I think rather than specifying it like a normal dependency
r
Oh whoa... I've never seen this way of declaring dependencies. Do you have a link handy w.r.t. documentation? Is this specific to multiplatform projects? Just compose multiplatform?
a
ya its just for compose multiplatform afaik
r
Thanks! I switched over to doing it this way, much easier and clearer to read.
518 Views