Counter

A decrement-and-increment control for bounded numeric values.

A decrement-and-increment control for bounded numeric values.

Public API

  • FCounter
  • FCounterLabel

Example

FCounter(
    value: $sets,
    in: 1...12,
    label: .visible("Sets"),
    haptic: .light
)

Source

This reference follows Sources/FreakUI/Components/Inputs/FCounter.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.