Slider

A numeric slider with range labels, value presentation, and layout options.

A numeric slider with range labels, value presentation, and layout options.

Public API

  • FSlider
  • FSliderPosition
  • FSliderValuePresentation
  • FSliderRangeLabels

Example

FSlider(
    value: $intensity,
    in: 0...10,
    step: 1,
    label: "Intensity",
    valueFormat: .integer,
    rangeLabels: .visible(format: .integer)
)

Source

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