Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 1.13 KB

README.md

File metadata and controls

57 lines (41 loc) · 1.13 KB

Introduction

PixelKit is a SwiftUI package that provides custom, reusable UI components for enhancing your app's user interface.

Features

Requirements

Installation

Add the following to your Package.swift file:

dependencies: [
    .package(url: "https://github.com/kevherro/PixelKit.git", from: "0.1.0")
]

Basic Usage

Here's a quick example of how to use the SpringyButtonStyle:

import SwiftUI
import PixelKit

struct ContentView: View {
    var body: some View {
        Button("Press Me!") {
            print("Button pressed!")
        }
        .buttonStyle(
            PixelKit.Styles.SpringyButtonStyle(
                width: 200,
                height: 50,
                color: .blue
            )
        )
    }
}

License

MIT

Contact

Kevin Herro - herro [at] sent [dot] com