Skip to content

misaki1301/MountainViewUI

Repository files navigation

MountainViewUI

Swift Version License build and test workflow issues

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.

Features

  • 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.]

Installation

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")
]

Usage

Import the library like here:

import SwiftUI
import MountainViewUI

Buttons

MountainViewUI currently only support 3 types of buttons:

  1. Contained
  2. Filled
  3. 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!

Documentation

Currently I'm working in the documentation and the correct implementation of Material using its guidelines

License

MountainViewUI is released under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages