Compact Stepper

Compact numeric stepper with chevron buttons, animated numeric text transitions, and haptic feedback

Free
Free with a ShipSwift account.

Copies a short instruction with your private download link. Paste it into your agent: it downloads the whole skill (the source code, the setup steps and the mistakes we already made for you) and builds the screen.

Works with

+70

What it does

Compact numeric stepper with chevron-style increment/decrement buttons, animated numeric text transitions, and haptic feedback on value change. The decrement button is disabled when the value reaches 0.

What you get

  • ✓46 lines of source code, ready to paste
  • ✓Source Code
  • ✓Usage
componentinputstepperquantitynumericSwiftUI

Usage

@State private var quantity = 1

// Standalone stepper
SWStepper(quantity: $quantity)

// Real-world usage with a label
HStack {
    Text("Quantity")
    Spacer()
    SWStepper(quantity: $quantity)
}
.padding(.horizontal)