Swiftpack.co - karamage/SwiftUI-FAB as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by karamage.
karamage/SwiftUI-FAB 0.1.0
Floating Action Button(FAB) with SwiftUI
⭐️ 1
🕓 2 weeks ago
iOS
.package(url: "https://github.com/karamage/SwiftUI-FAB.git", from: "0.1.0")

SwiftUI-FAB (Floating Action Button)

CI Release License Twitter

Floating Action Button(FAB) with SwiftUI.

Install

SwiftPM

https://github.com/karamage/SwiftUI-FAB.git

Usage

import SwiftUI
import SwiftUI_FAB

struct ExampleScreen: View {
    var body: some View {
        NavigationView {
            VStack {
                Text("Floating Action Button(FAB) with SwiftUI")
            }
            .floatingActionButton(color: Color.blue, image: Image(systemName: "plus").foregroundColor(.white)) {
                // action
                print("Tap Button")
            }
            .navigationTitle("Sample")
            .navigationBarTitleDisplayMode(.inline)
        }
    }
}

GitHub

link
Stars: 1
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.1.0
2 weeks ago

First Release.

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