Discord-like swiping side panels for Jetpack Compose Multiplatform.
repositories {
mavenCentral()
}
dependencies {
implementation("io.github.materiiapps.panels:panels:1.0.1")
}
Swipe Panels behaves just like the layout in the Discord Android app.
SwipePanels(
start = {
// Start panel
},
center = {
// Center panel
},
end = {
// End panel
},
)
Static Panels behaves just like the layout in the Discord Desktop app.
StaticPanels(
start = {
// Start panel
},
center = {
// Center panel
},
end = {
// End panel
},
)
These are the most basic ways to use the panels. Check out the samples for more detailed examples.