MountainViewUI is a Material Design implementation for SwiftUI that brings the modern and beautiful UI elements from Google's Material Design to your iOS apps. Please note that this package is still a work in progress, and some features might be missing or subject to changes.
- Buttons: Beautifully designed Material buttons for various use cases.
- Cards: (Planning to make some showcase of the diferents layouts you can use with it)
- SnackBar: (Currently on development)
- BottomBarNavigation: (Currently on development)
- Other components: [To be added in future releases.]
You can integrate MountainViewUI into your project using Swift Package Manager. Add the following as a dependency in your Package.swift
file:
dependencies: [
.package(url: "https://github.com/misaki1301/MountainViewUI.git", from: "0.1.0")
]
Import the library like here:
import SwiftUI
import MountainViewUI
MountainViewUI currently only support 3 types of buttons:
- Contained
- Filled
- Outlined
VStack {
MountainViewButton(text: "Contained", action: {}, buttonStyle: MountainButtonStyle())
MountainViewButton(text: "Filled", action: {}, buttonStyle: MountainFillButtonStyle())
MountainViewButton(text: "Outlined", action: {}, buttonStyle: MountainOutlinedButtonStyle())
#OR
MountainViewButton(text: "Contained", action: {}, buttonStyle: .contained)
MountainViewButton(text: "Filled", action: {}, buttonStyle: .filled)
MountainViewButton(text: "Outlined", action: {}, buttonStyle: .outlined)
}
other components will be added in future releases stay tune!
Currently I'm working in the documentation and the correct implementation of Material using its guidelines
MountainViewUI is released under the MIT License. See the LICENSE file for details.