https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
h

he-dev

11/09/2023, 6:19 PM
Is it ok to use the
androidx.compose.material3
package for a desktop app? Will it work?
k

Kirill Grouchnikov

11/09/2023, 6:22 PM
Yes
3
c

Casey Brooks

11/09/2023, 6:23 PM
Yes, it works fine for the most part. You won’t get dynamic colors like you will on Android, but the Material3 components will work work just the same as it would with the M2 components
h

he-dev

11/09/2023, 6:25 PM
I've just found this: https://blog.jetbrains.com/kotlin/2023/11/compose-multiplatform-1-5-10-release/#new-material-3-components-in-common-code - it looks like it's already integrated into the latest version. Isn't it? 😯
m

Mitchell Syer

11/09/2023, 6:44 PM
You should be able to implement it like
implementation(compose.material3)
🤯 1
👍 1
3 Views