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
⭐️ 7
🕓 1 year 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: 7
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.1.0
1 year ago

First Release.

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