panels
panels copied to clipboard
Discord-like side panels for Jetpack Compose Multiplatform.
Panels
Discord-like swiping side panels for Jetpack Compose Multiplatform.
Installation
repositories {
mavenCentral()
}
dependencies {
implementation("io.github.materiiapps.panels:panels:1.0.1")
}
Usage
Swipe Panels
Swipe Panels behaves just like the layout in the Discord Android app.
SwipePanels(
start = {
// Start panel
},
center = {
// Center panel
},
end = {
// End panel
},
)
Static Panels
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.