Swiftpack.co - tichise/MaterialDesignUIComponents as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by tichise.
tichise/MaterialDesignUIComponents 1.0.1
UI Components library for Swift. Currently supports MaterialDesign.
⭐️ 2
🕓 1 year ago
iOS watchOS
.package(url: "https://github.com/tichise/MaterialDesignUIComponents.git", from: "1.0.1")

Github Actions workflow

MaterialDesignUIComponents

UI components library for Swift. Currently supports MaterialDesign.

Sample

ButtonStyle

ButtonStyleContained

struct ButtonStyleContained_Previews: PreviewProvider {
    static var previews: some View {
        Button("Button") {
        }.buttonStyle(ButtonStyleContained())
    }
}
image

ButtonStyleOutlined

struct ButtonStyleOutlined_Previews: PreviewProvider {
    static var previews: some View {
        Button("Button") {
        }.buttonStyle(ButtonStyleOutlined(strokeColor: .black))
    }
}
image

Modifiler

FillCard

struct FilledCard_Previews: PreviewProvider {
    static var previews: some View {
        HStack {
            Text("text").padding(10)
        }.modifier(FilledCard(cornerRadius: 5, backgroundColor: .yellow))
    }
}
image

ElevatedCard

struct ElevatedCard_Previews: PreviewProvider {
    static var previews: some View {
        HStack {
            Text("text").padding(10)
        }.modifier(ElevatedCard(cornerRadius: 5, shadowColor: .gray))
    }
}
image

GitHub

link
Stars: 2
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1.0.1
1 year ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics