Swiftpack.co - asam139/Steps as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by asam139.
asam139/Steps 0.3.8
Steps is a SwiftUI Wizard component that guides users through steps in a basket, cart, or any task etc.
⭐️ 19
🕓 5 weeks ago
iOS macOS tvOS
.package(url: "https://github.com/asam139/Steps.git", from: "0.3.8")

Build Status Platforms Cocoapods SPM compatible codecov Swift Xcode MIT

Steps is a navigation bar that guides users through the steps of a task. You need to use it when a given task is complicated or has a certain sequence in the series of subtasks, we can decompose it into several steps to make things easier.


  • iOS 10.0+ / tvOS 9.0+ / macOS 10.10+ / Ubuntu 14.04+
  • Swift 5.0+



To integrate Steps into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'Steps'
Swift Package Manager

You can use The Swift Package Manager to install Steps by adding the proper description to your Package.swift file:

import PackageDescription

let package = Package(
    name: "YOUR_PROJECT_NAME",
    targets: [],
    dependencies: [
        .package(url: "https://github.com/asam139/Steps.git", from: "0.2.0")

Next, add Steps to your targets dependencies like so:

    name: "YOUR_TARGET_NAME",
    dependencies: [

Then run swift package update.


Add the Steps project to your Xcode project


struct Item {
    var title: String
    var image: Image?

struct ContentView: View {
    @ObservedObject private var stepsState: StepsState

    init() {
        let items = [
            Item(title: "First_", image: Image(systemName: "wind")),
            Item(title: ""),
            Item(title: "Second__", image: Image(systemName: "tornado")),
            Item(title: ""),
            Item(title: "Fifth_____", image: Image(systemName: "hurricane"))
        stepsState = StepsState(data: items)

    func onCreateStep(_ item: Item) -> Step {
        return Step(title: item.title, image: item.image)

    var body: some View {
        VStack(spacing: 12) {
            Steps(state: stepsState, onCreateStep:onCreateStep)

            Button(action: {
            }) {
            Button(action: {
            }) {

Get involved

We want your feedback. Please refer to contributing guidelines before participating.


Special thanks to:

  • Hoping new contributors


Steps is released under the MIT license. See LICENSE for more information.


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


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