Skip to content

Item — PAM Native UI

PAM Native UI · Android evidence

p-item 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
item-group
PHP facade
PItem
Native targets
Android · UIKit

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

Android specimen

p-item 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-item native Android interaction

Showcase profiles

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

  • Default
  • Active
  • Inactive
  • Disabled
  • Primary

PHP usage

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

PItem::make(
    [
        'accessibilityLabel' => "PItem preview",
        'active' => true,
        'color' => "primary",
    ],
    Text::make('Item'),
);

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

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"PItem preview"
activebooltrue, false
colorstring"primary"
disabledbooltrue
selectedbooltrue, false