MessageBar
A flexible, feature-rich snackbar/message bar library for Compose Multiplatform supporting Android and iOS.
📦 Installation
commonMain.dependencies {
implementation("io.github.myapplabs:messagebar:0.1.0")
}
📚 Documentation
For complete documentation on how to use MessageBar in your project, see:
📖 Library Documentation
✨ Features
🚀 Quick Start
@Composable
fun App() {
MessageBarProvider {
val controller = LocalMessageBarController.current
Button(onClick = {
controller.show("Hello, World!")
}) {
Text("Show Message")
}
}
}
📱 Demo App
This repository includes a demo app showcasing all features. To run it:
Android
./gradlew :composeApp:installDebug
iOS
open iosApp/iosApp.xcodeproj
🏗️ Project Structure
MessageBar/
├── messagebar/
│ ├── src/
│ └── README.md
├── composeApp/
└── iosApp/
📄 License
Copyright 2025 Paul Franco
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 at
http:
Unless applicable law agreed to writing, software
distributed under the License distributed an BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express implied.
See the License the specific language governing permissions
limitations under the License.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
🔗 Links