Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saket/cascade
Nested popup menus with smooth height animations for Android
https://github.com/saket/cascade
android jetpack-compose menu popup
Last synced: 6 days ago
JSON representation
Nested popup menus with smooth height animations for Android
- Host: GitHub
- URL: https://github.com/saket/cascade
- Owner: saket
- License: apache-2.0
- Created: 2020-10-08T02:55:22.000Z (over 4 years ago)
- Default Branch: trunk
- Last Pushed: 2024-06-15T15:29:11.000Z (7 months ago)
- Last Synced: 2025-01-02T04:07:21.385Z (13 days ago)
- Topics: android, jetpack-compose, menu, popup
- Language: Kotlin
- Homepage: https://saket.github.io/cascade
- Size: 3.76 MB
- Stars: 2,054
- Watchers: 34
- Forks: 66
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-kotlin - cascade - Nested popup menus with smooth height animations (Libraries)
- awesome-list - saket/cascade - Nested popup menus with smooth height animations for Android (Kotlin)
README
# cascade
![demo](demo.gif)
`cascade` builds nested popup menus with smooth height animations. It is designed to be a *drop-in* replacement for both [PopupMenu](https://developer.android.com/reference/androidx/appcompat/widget/PopupMenu) and [DropdownMenu](https://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary#DropdownMenu(kotlin.Boolean,kotlin.Function0,androidx.compose.ui.Modifier,androidx.compose.ui.unit.DpOffset,androidx.compose.ui.window.PopupProperties,kotlin.Function1)), so using it in your project is beautifully only a word away. Try out the [sample app](https://github.com/saket/cascade/releases/download/2.0.0-rc01/cascade_v2.0.0-rc01_sample.apk) to see it in action.
```groovy
implementation "me.saket.cascade:cascade:2.3.0"
implementation "me.saket.cascade:cascade-compose:2.3.0"
```See [project website](https://saket.github.io/cascade) for full documentation.
## License
```
Copyright 2020 Saket Narayan.Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```