https://kotlinlang.org logo
#compose
Title
# compose
j

Justin Xu

12/23/2022, 4:24 AM
I'm trying to add a menu that opens from the bottom like in this screenshot from Slack mobile. Is there an existing Composable similar to this?
m

mattinger

12/23/2022, 5:37 AM
BottomSheetScaffold or ModalBottomSheetLayout depending on your use case.
j

Justin Xu

12/23/2022, 6:14 AM
Awesome, the second one is what I'm looking for. Another question: I want to have multiple of these ModalSheetLayouts, is there a clean way of applying multiple to my main layout? Thanks
f

FunkyMuse

12/23/2022, 7:28 AM
@Justin Xu you can have each to be a separate destination, check accompanist material navigation
c

Colton Idle

12/23/2022, 1:55 PM
I like this library for modal bottom sheets https://github.com/oleksandrbalan/modalsheet
5 Views