Skip to content

Tabs — PAM Native UI

PAM Native UI · Android evidence

p-tabs 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
PTabs
Native targets
Android · UIKit

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

Android specimen

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

Showcase profiles

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

  • Default
  • Comfortable
  • Compact
  • Grow
  • Centered
  • End
  • Fixed Tabs
  • Stacked
  • Vertical
  • Hide Slider

PHP usage

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

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

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

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"PTabs preview"
activebooltrue
alignTabsstring"center", "end"
densitystring"comfortable", "compact"
directionstring"vertical"
fixedTabsbooltrue
growbooltrue
hideSliderbooltrue
itemsarrayStructured value
stackedbooltrue
valuestring"overview"