Skip to content

Carousel — PAM Native UI

PAM Native UI · Android evidence

p-carousel 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
Surfaces and media
Module
carousel
PHP facade
PCarousel
Native targets
Android · UIKit

Surfaces and media component rendered through the retained-native Android and UIKit pipeline.

Android specimen

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

Showcase profiles

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

  • Default
  • Continuous
  • Cycle
  • Hide Delimiters
  • Show Arrows
  • Vertical
  • Reverse
  • Crossfade

PHP usage

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

PCarousel::make(
    [
        'accessibilityLabel' => "PCarousel preview",
        'active' => true,
        'continuous' => true,
    ],
    Text::make('Carousel'),
);

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

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"PCarousel preview"
activebooltrue
continuousbooltrue
cyclebooltrue
directionstring"vertical"
hideDelimitersbooltrue
intervalint3000
itemsarrayStructured value
reversebooltrue
showArrowsbooltrue
transitionstring"fade"
valuestring"overview"
verticalbooltrue