Skip to content

Tab — PAM Native UI

PAM Native UI · Android evidence

p-tab 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
Navigation and progress
Module
tabs
PHP facade
PTab
Native targets
Android · UIKit

Navigation and progress component rendered through the retained-native Android and UIKit pipeline.

Android specimen

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

Showcase profiles

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

  • Default
  • Comfortable
  • Compact
  • Active
  • Inactive
  • Disabled
  • Primary
  • Grow
  • Centered
  • End
  • Fixed Tabs
  • Stacked
  • Vertical
  • Hide Slider

PHP usage

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

PTab::make(
    [
        'accessibilityLabel' => "PTab preview",
        'active' => true,
        'alignTabs' => "center",
    ],
    Text::make('Tab'),
);

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

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"PTab preview"
activebooltrue, false
alignTabsstring"center", "end"
colorstring"primary"
densitystring"comfortable", "compact"
directionstring"vertical"
disabledbooltrue
fixedTabsbooltrue
growbooltrue
hideSliderbooltrue
selectedbooltrue, false
stackedbooltrue