Skip to content

Segmented Button — PAM Native UI

PAM Native UI · Android evidence

p-segmented-button rendered by the production retained-native pipeline. The specimen below is a real Android 16 (API 36) emulator candidate at 420 dpi, not an HTML recreation.

Android emulator candidate verified; physical Samsung approval pending
Family
Forms and editing
Module
segmented-button
PHP facade
PSegmentedButton
Native targets
Android · UIKit

Forms and editing component rendered through the retained-native Android and UIKit pipeline.

Android specimen

p-segmented-button running in the PAM Native UI Android catalog

Showcase profiles

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

  • Single
  • Multiple
  • Icons
  • Disabled

PHP usage

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

PSegmentedButton::make(
    [
        'accessibilityLabel' => "PSegmentedButton preview",
        'disabled' => true,
        'icons' => true,
    ],
    Text::make('Segmented Button'),
);

The equivalent PAM template entry point is <p-segmented-button>…</p-segmented-button>.

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"PSegmentedButton preview"
disabledbooltrue
iconsbooltrue
modelValueint | array | string1, "week"
multiplebooltrue