Skip to content

Radio — PAM Native UI

PAM Native UI · Android evidence

p-radio 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
Selection controls
Module
radio
PHP facade
PRadio
Native targets
Android · UIKit

Selection controls component rendered through the retained-native Android and UIKit pipeline.

Android specimen

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

Showcase profiles

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

  • Default
  • X Small
  • Small
  • Large
  • X Large
  • Comfortable
  • Compact
  • Off
  • On
  • Disabled
  • Read Only
  • Error
  • Primary
  • Success
  • Warning
  • Error Color
  • Inline

PHP usage

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

PRadio::make(
    [
        'accessibilityLabel' => "PRadio preview",
        'checked' => true,
        'color' => "primary",
    ],
    Text::make('Radio'),
);

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

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"PRadio preview"
checkedbooltrue, false
colorstring"primary", "success", "warning", "error"
densitystring"comfortable", "compact"
disabledbooltrue
errorbooltrue
errorMessagestring"Invalid choice"
inlinebooltrue
labelstring"PRadio"
readonlybooltrue
sizestring"x-small", "small", "large", "x-large"