Skip to content

Range Slider — PAM Native UI

PAM Native UI · Android evidence

p-range-slider rendered by the production retained-native pipeline. The specimen below is a real Physical Samsung SM-G973F Android 12 (API 31) capture at 420 dpi, not an HTML recreation.

Physical Samsung layout, route and native interaction verified
Family
Selection controls
Module
range-slider
PHP facade
PRangeSlider
Native targets
Android · UIKit

Selection controls component rendered through the retained-native Android and UIKit pipeline.

Android specimen

p-range-slider running in the PAM Native UI Android catalog

Interaction recording

The touch trace was captured from the Android application while exercising the native component.

p-range-slider native Android interaction

Showcase profiles

Every profile below is rendered by the Android catalog route shown above.

  • Default
  • Minimum
  • Maximum
  • Disabled
  • Step 10
  • Ticks
  • Tick Labels
  • Thumb Label
  • Always Thumb Label
  • Vertical
  • Reverse
  • Read Only
  • Primary
  • Success
  • Warning
  • Error

PHP usage

use Pam\MobileUi\Material\PRangeSlider;
use Pam\Native\UI\Text;

PRangeSlider::make(
    [
        'accessibilityLabel' => "PRangeSlider preview",
        'color' => "primary",
        'disabled' => true,
    ],
    Text::make('Range Slider'),
);

The equivalent PAM template entry point is <p-range-slider>…</p-range-slider>.

See the PAM Native UI guide for event, state and styling conventions, and the quality contractfor native behavior requirements.

Component properties

PropertyObserved typeShowcase values
accessibilityLabelstring"PRangeSlider preview"
colorstring"primary", "success", "warning", "error"
disabledbooltrue
helperstring"Choose the allowed range"
maxint100
minint0
modelValuearrayStructured value
orientationint2
readonlybooltrue
reversebooltrue
stepint10, 25
thumbLabelbool | stringtrue, "always"
tickLabelsarrayStructured value
ticksbool | stringtrue, "always"
trackColorstring"secondary"
verticalbooltrue