Skip to content

Alert — PAM Native UI

PAM Native UI · Android evidence

p-alert 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
alert
PHP facade
PAlert
Native targets
Android · UIKit

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

Android specimen

p-alert 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
  • Elevated
  • Flat
  • Tonal
  • Outlined
  • Text
  • Plain
  • Primary
  • Secondary
  • Success
  • Information
  • Warning
  • Error
  • Comfortable
  • Compact
  • Closable
  • Border Start
  • Border Top
  • Border End
  • Border Bottom

PHP usage

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

PAlert::make(
    [
        'variant' => "elevated",
        'accessibilityLabel' => "PAlert preview",
        'border' => true,
    ],
    Text::make('Alert'),
);

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

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"PAlert preview"
borderbool | stringtrue, "start", "top", "end", "bottom"
closablebooltrue
colorstring"primary", "secondary", "success", "info", "warning", "error"
densitystring"comfortable", "compact"
elevationint3, 0
textstring"Everything is ready to continue."
typestring"success", "info", "warning", "error"
variantstring"elevated", "flat", "tonal", "outlined", "text", "plain"