AnimatedPane
Composable Component
The root composable of pane contents in a ThreePaneScaffold
that supports default motions
during pane switching. It's recommended to use this composable to wrap your own contents when
passing them into pane parameters of the scaffold functions, therefore your panes can have a
nice default animation for free.
Common
@ExperimentalMaterial3AdaptiveApi
@Composable
fun ThreePaneScaffoldScope.AnimatedPane(
modifier: Modifier,
content: (@Composable ThreePaneScaffoldScope.() -> Unit),
)
Create your own Component Library
Material Components are meant to be used as is and they do not allow customizations. To build your own Jetpack Compose component library use Compose Unstyled