Btn Toggle — PAM Native UI
PAM Native UI · Android evidence
p-btn-toggle 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
- Actions and identity
- Module
button-toggle- PHP facade
PBtnToggle- Native targets
- Android · UIKit
Actions and identity component rendered through the retained-native Android and UIKit pipeline.
Android specimen

Interaction recording
The touch trace was captured from the Android application while exercising the native component.

Showcase profiles
Every profile below is rendered by the Android catalog route shown above.
- Single choice
- Multiple choice
- Full width
- Single optional
- Leading icons
- Compact density
- Two options
- Five options
- Disabled item
- Disabled group
- Long labels
- Tile
- RTL
- Success color
PHP usage
use Pam\MobileUi\Material\PBtnToggle;
use Pam\Native\UI\Text;
PBtnToggle::make(
[
'accessibilityLabel' => "PBtnToggle preview",
'active' => true,
'block' => true,
],
Text::make('Btn Toggle'),
);The equivalent PAM template entry point is <p-btn-toggle>…</p-btn-toggle>.
See the PAM Native UI guide for event, state and styling conventions, and the quality contractfor native behavior requirements.
Component properties
| Property | Observed type | Showcase values |
|---|---|---|
accessibilityLabel | string | "PBtnToggle preview" |
active | bool | true |
block | bool | true |
color | string | "success" |
density | string | "compact" |
disabled | bool | true |
mandatory | bool | true |
modelValue | string | array | "week", "board", "list", "recent", "center", "monthly" |
multiple | bool | true |
rtl | bool | true |
tile | bool | true |