Skip to content

Banner — PAM Native UI

PAM Native UI · Android evidence

p-banner 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 and component route verified
Family
Overlays and feedback
Module
banner
PHP facade
PBanner
Native targets
Android · UIKit

Overlays and feedback component rendered through the retained-native Android and UIKit pipeline.

Android specimen

p-banner running in the PAM Native UI Android catalog

This is a static or anatomical component. Its Android evidence is the rendered specimen; no synthetic interaction recording is published.

Showcase profiles

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

  • Default
  • One Line
  • Three Lines
  • Leading Icon
  • Single Action
  • Disabled Action
  • Success
  • Information
  • Warning
  • Error
  • Closable
  • Compact

PHP usage

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

PBanner::make(
    [
        'accessibilityLabel' => "PBanner preview",
        'closable' => true,
        'color' => "success",
    ],
    Text::make('Banner'),
);

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

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"PBanner preview"
closablebooltrue
colorstring"success", "info", "warning", "error"
densitystring"compact"
linesint1, 3
textstring"Everything is ready to continue."
typestring"success", "info", "warning", "error"