@rippling/pebble-sdui-mobile 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/2020-BHvuyx7H.cjs +9 -0
  2. package/dist/2020-BHvuyx7H.cjs.map +1 -0
  3. package/dist/2020-CtiehJXS.js +4988 -0
  4. package/dist/2020-CtiehJXS.js.map +1 -0
  5. package/dist/catalogs/core/action-params.d.ts +24 -0
  6. package/dist/catalogs/core/actions.d.ts +8 -0
  7. package/dist/catalogs/core/catalog.d.ts +33 -0
  8. package/dist/catalogs/core/component-events.d.ts +87 -0
  9. package/dist/catalogs/core/component-props.d.ts +1866 -0
  10. package/dist/catalogs/core/components.d.ts +88 -0
  11. package/dist/catalogs/core/function-params.d.ts +36 -0
  12. package/dist/catalogs/core/functions.d.ts +37 -0
  13. package/dist/catalogs/core/index.cjs +3 -0
  14. package/dist/catalogs/core/index.cjs.map +1 -0
  15. package/dist/catalogs/core/index.d.ts +15 -0
  16. package/dist/catalogs/core/index.js +11070 -0
  17. package/dist/catalogs/core/index.js.map +1 -0
  18. package/dist/catalogs/core/render.d.ts +20 -0
  19. package/dist/catalogs/custom-apps/action-params.d.ts +4 -0
  20. package/dist/catalogs/custom-apps/actions.d.ts +2 -1
  21. package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
  22. package/dist/catalogs/custom-apps/index.cjs +2 -8
  23. package/dist/catalogs/custom-apps/index.cjs.map +1 -1
  24. package/dist/catalogs/custom-apps/index.d.ts +2 -2
  25. package/dist/catalogs/custom-apps/index.js +206 -5171
  26. package/dist/catalogs/custom-apps/index.js.map +1 -1
  27. package/dist/docs/typescript/mobile/catalogs/core/actions.md +151 -0
  28. package/dist/docs/typescript/mobile/catalogs/core/components.md +2314 -0
  29. package/dist/docs/typescript/mobile/catalogs/core/computed-functions.md +162 -0
  30. package/dist/docs/typescript/mobile/catalogs/core/definitions.md +3894 -0
  31. package/dist/docs/typescript/mobile/catalogs/core/readme.md +16 -0
  32. package/dist/docs/typescript/mobile/catalogs/core/types.md +1585 -0
  33. package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +28 -0
  34. package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +1 -1
  35. package/package.json +6 -1
@@ -0,0 +1,2314 @@
1
+ <!-- Auto-generated from catalogs/core.catalog.json; do not edit directly. -->
2
+ # core Components
3
+
4
+ Import component builders from `@rippling/pebble-sdui-mobile/catalogs/core`. Read [definitions.md](./definitions.md) for enum values linked from prop tables.
5
+
6
+ ## ActionCard
7
+
8
+ Card with icon asset, title, caption, and action buttons
9
+
10
+ Catalog key: `ActionCard`
11
+ Builder: `ActionCard`
12
+ Props type: `ActionCardProps`
13
+ Accepts children: no
14
+ Events: `primaryAction`, `secondaryAction`
15
+
16
+ ### Props
17
+
18
+ | Name | Required | Type | Description |
19
+ |---|---:|---|---|
20
+ | `asset` | yes | [Asset](./types.md#asset) | Asset displayed on the action card |
21
+ | `caption` | yes | string | Caption text for the action card |
22
+ | `primaryAction` | no | [ActionCardPrimaryAction](./types.md#actioncardprimaryaction) | Primary action button. Press emits "primaryAction". |
23
+ | `secondaryAction` | no | [ActionCardSecondaryAction](./types.md#actioncardsecondaryaction) | Secondary action button. Press emits "secondaryAction". |
24
+ | `testID` | no | string | Sets testid on ActionCard (used for testing purposes) |
25
+ | `title` | yes | string | Title for the action card |
26
+
27
+ No additional properties.
28
+
29
+ ## Anchor
30
+
31
+ Inline text link that opens supported URLs
32
+
33
+ Use Anchor for inline links that open external destinations through React Native Linking. Supported URL schemes are http, https, mailto, tel, and sms. Wire the `press` event for side effects before opening, `open` for successful opens, and `error` for unsupported URLs, URLs the device cannot open, or Linking failures.
34
+
35
+ Catalog key: `Anchor`
36
+ Builder: `Anchor`
37
+ Props type: `AnchorProps`
38
+ Accepts children: no
39
+ Events: `press`, `open`, `error`
40
+
41
+ ### Props
42
+
43
+ | Name | Required | Type | Description |
44
+ |---|---:|---|---|
45
+ | `children` | yes | string | Text content shown as the link |
46
+ | `href` | yes | string | URL to open. Supports http, https, mailto, tel, and sms schemes. |
47
+ | `testID` | no | string | Sets testid on Anchor (used for testing purposes) |
48
+
49
+ No additional properties.
50
+
51
+ ## Animation
52
+
53
+ Lottie-based branded animation from the pebble animation pack
54
+
55
+ `type` must be a valid pebble animation name. Leave `theme` unset to follow the app color mode.
56
+
57
+ Catalog key: `Animation`
58
+ Builder: `Animation`
59
+ Props type: `AnimationProps`
60
+ Accepts children: no
61
+ Events: _none_
62
+
63
+ ### Props
64
+
65
+ | Name | Required | Type | Description |
66
+ |---|---:|---|---|
67
+ | `autoPlay` | no | boolean | Whether the animation auto-plays on mount. Default: true |
68
+ | `loop` | no | boolean | Whether the animation loops. Default: true |
69
+ | `size` | no | number | Square dimension (width = height) for the animation surface. Default: theme.size800 |
70
+ | `speed` | no | number | Playback speed multiplier. Default: 1 |
71
+ | `testID` | no | string | Sets testid on Animation (used for testing purposes) |
72
+ | `theme` | no | [AnimationTheme](./definitions.md#animationtheme) | Forces a specific theme variant. Defaults to the app current color mode |
73
+ | `type` | yes | [AnimationType](./definitions.md#animationtype) | Animation to be shown |
74
+
75
+ No additional properties.
76
+
77
+ ## Avatar
78
+
79
+ Circular avatar showing a photo, icon, or initials
80
+
81
+ Use `source` for a remote image URL or an icon type name. Use `title` for initials when no image is available.
82
+ When `onPress` is wired, the avatar becomes tappable — wire to the 'press' event.
83
+
84
+ Catalog key: `Avatar`
85
+ Builder: `Avatar`
86
+ Props type: `AvatarProps`
87
+ Accepts children: no
88
+ Events: `press`
89
+
90
+ ### Props
91
+
92
+ | Name | Required | Type | Description |
93
+ |---|---:|---|---|
94
+ | `contentFit` | no | [AvatarContentFit](./definitions.md#avatarcontentfit) | How the avatar image scales within its bounds |
95
+ | `recyclingKey` | no | string | Sets the image view to blank before loading the final image — prevents showing the previous image during recycling |
96
+ | `size` | no | [AvatarSize](./definitions.md#avatarsize) | Size of the avatar. Default: medium |
97
+ | `source` | no | [AvatarSource](./definitions.md#avatarsource) \| string \| [AvatarSource](./types.md#avatarsource) \| [AvatarSource](./types.md#avatarsource) | Remote photo URL or Pebble icon name to render as the avatar image |
98
+ | `testID` | no | string | Sets testid on Avatar (used for testing purposes) |
99
+ | `title` | no | string | Initials or short text shown when no source is provided (e.g. "JD" for John Doe) |
100
+
101
+ No additional properties.
102
+
103
+ ## AvatarStack
104
+
105
+ Overlapping row of circular avatars
106
+
107
+ `avatars` is an array of avatar data objects. Each item supports the same `source` and `title` props as the Avatar component.
108
+
109
+ Catalog key: `AvatarStack`
110
+ Builder: `AvatarStack`
111
+ Props type: `AvatarStackProps`
112
+ Accepts children: no
113
+ Events: _none_
114
+
115
+ ### Props
116
+
117
+ | Name | Required | Type | Description |
118
+ |---|---:|---|---|
119
+ | `avatars` | yes | [AvatarValue](./types.md#avatarvalue)[] | Array of avatar definitions to stack: [{ source?, title? }] |
120
+ | `size` | no | [AvatarSize](./definitions.md#avatarsize) | Size applied to all avatars in the stack. Default: medium |
121
+
122
+ No additional properties.
123
+
124
+ ## Badge
125
+
126
+ Small status label with colored appearance
127
+
128
+ Catalog key: `Badge`
129
+ Builder: `Badge`
130
+ Props type: `BadgeProps`
131
+ Accepts children: no
132
+ Events: _none_
133
+
134
+ ### Props
135
+
136
+ | Name | Required | Type | Description |
137
+ |---|---:|---|---|
138
+ | `appearance` | no | [BadgeAppearance](./definitions.md#badgeappearance) | Badge appearance. Default: primary |
139
+ | `label` | yes | string | Text content to appear in badge |
140
+ | `testID` | no | string | Sets testid on Badge (used for testing purposes) |
141
+
142
+ No additional properties.
143
+
144
+ ## Button
145
+
146
+ Tappable button with label and configurable appearance
147
+
148
+ Wire `onPress` to the `press` event. Set `spinner: { $bindState: "/loading" }` to show a spinner while an async action runs. Use `style` with token keys (e.g. { marginTop: "space200", alignSelf: "center" }) to override container spacing and alignment.
149
+
150
+ Catalog key: `Button`
151
+ Builder: `Button`
152
+ Props type: `ButtonProps`
153
+ Accepts children: no
154
+ Events: `press`
155
+
156
+ ### Props
157
+
158
+ | Name | Required | Type | Description |
159
+ |---|---:|---|---|
160
+ | `appearance` | no | [ButtonAppearance](./definitions.md#buttonappearance) | Button appearance. Default: primary |
161
+ | `children` | no | string | Button label text |
162
+ | `disabled` | no | boolean | Disables the button. Default: false |
163
+ | `fluid` | no | boolean | If true, button stretches to full available width |
164
+ | `haptic` | no | boolean | Enables haptic feedback on press. Default: true for base/pill/small variants, false for text variant |
165
+ | `leftIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to show on the left of the button |
166
+ | `outlined` | no | boolean | Shows button with outline border style |
167
+ | `rightIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to show on the right of the button |
168
+ | `spinner` | no | boolean | Shows a loading spinner. Bind to state for async feedback. Default: false |
169
+ | `style` | no | [ButtonStyle](./types.md#buttonstyle) | Container style overrides applied to a wrapping View — token keys only, e.g. { marginTop: "space200", alignSelf: "center" } |
170
+ | `testID` | no | string | Sets testid on Button (used for testing purposes) |
171
+ | `variant` | no | [ButtonVariant](./definitions.md#buttonvariant) | Button variant. Default: base |
172
+
173
+ No additional properties.
174
+
175
+ ## Card
176
+
177
+ Elevated container card, optionally tappable
178
+
179
+ Wire the `press` event to handle card tap. Set `disabled: true` to prevent press interaction. Add children to fill card body.
180
+
181
+ Catalog key: `Card`
182
+ Builder: `Card`
183
+ Props type: `CardProps`
184
+ Accepts children: yes
185
+ Events: `press`
186
+
187
+ ### Props
188
+
189
+ | Name | Required | Type | Description |
190
+ |---|---:|---|---|
191
+ | `disabled` | no | boolean | Disables press interaction on the card. Default: false |
192
+ | `outline` | no | boolean | Adds an outline border to the card. Default: false |
193
+ | `shadow` | no | [CardShadow](./definitions.md#cardshadow) | Shadow effect on the card. Default: none |
194
+ | `testID` | no | string | Sets testid on Card (used for testing purposes) |
195
+
196
+ No additional properties.
197
+
198
+ ## Checkbox
199
+
200
+ Single checkbox toggle with label and optional validation
201
+
202
+ Use a single Checkbox ONLY for a standalone boolean toggle (e.g. "I agree to terms"). For 2 or more related options, use CheckboxGroup instead — it renders all options in a grouped card layout automatically. Never place multiple individual Checkbox components in a VStack or Card manually.
203
+
204
+ Catalog key: `Checkbox`
205
+ Builder: `Checkbox`
206
+ Props type: `CheckboxProps`
207
+ Accepts children: no
208
+ Events: `change`, `blur`
209
+
210
+ ### Props
211
+
212
+ | Name | Required | Type | Description |
213
+ |---|---:|---|---|
214
+ | `boxView` | no | boolean | Renders checkbox in box/card view style. Default: false |
215
+ | `caption` | no | string | Caption/description shown below the label |
216
+ | `captionNumberOfLines` | no | number | Max lines for the caption text. Default: 1 |
217
+ | `checks` | no | [CheckboxCheck](./types.md#checkboxcheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
218
+ | `defaultValue` | no | boolean | Initial value for uncontrolled mode. Default: false |
219
+ | `disabled` | no | boolean | Disables the checkbox. Default: false |
220
+ | `error` | no | boolean \| string | Error state or error message |
221
+ | `haptic` | no | boolean | Enables haptic feedback on toggle. Default: true |
222
+ | `helperText` | no | string | Help text shown below the checkbox |
223
+ | `indeterminate` | no | boolean | Sets the checkbox to an indeterminate state. Default: false |
224
+ | `label` | no | string | Label text shown beside the checkbox |
225
+ | `labelNumberOfLines` | no | number | Max lines for the label (alias). Default: 1 |
226
+ | `readOnly` | no | boolean | Makes the checkbox non-interactive (display only). Default: false |
227
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. masked in screenshots). Default: false |
228
+ | `tag` | no | string | Tag text shown above the label |
229
+ | `testID` | no | string | Sets testid on Checkbox (used for testing purposes) |
230
+ | `titleNumberOfLines` | no | number | Max lines for the label text. Default: 1 |
231
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
232
+ | `value` | no | boolean | Controlled checked state — bind to state with $bindState |
233
+
234
+ No additional properties.
235
+
236
+ ## CheckboxGroup
237
+
238
+ Group of checkboxes allowing multiple selections
239
+
240
+ Preferred over multiple individual Checkbox components. Pass all options via the `options` array (each with `id` and `label`). Wrap in a Card for visual grouping. `onChange` stores the array of selected ids to the bound state path. State shape: string[].
241
+
242
+ Catalog key: `CheckboxGroup`
243
+ Builder: `CheckboxGroup`
244
+ Props type: `CheckboxGroupProps`
245
+ Accepts children: no
246
+ Events: `change`
247
+
248
+ ### Props
249
+
250
+ | Name | Required | Type | Description |
251
+ |---|---:|---|---|
252
+ | `defaultValue` | no | string[] | Initial selected ids for uncontrolled mode |
253
+ | `disabled` | no | boolean | Disables all options. Default: false |
254
+ | `error` | no | boolean \| string | Error state or error message shown below the group |
255
+ | `helperText` | no | string | Help text shown below the group |
256
+ | `options` | yes | [CheckboxGroupOption](./types.md#checkboxgroupoption)[] | Array of checkbox options: [{ id, label?, tag?, disabled? }] |
257
+ | `testID` | no | string | Sets testid on CheckboxGroup (used for testing purposes) |
258
+ | `value` | no | string[] | Array of selected option ids — bind to state with $bindState |
259
+
260
+ No additional properties.
261
+
262
+ ## Chip
263
+
264
+ Compact tag chip with optional dismiss button
265
+
266
+ Wire `close` event to handle chip removal. Wire `press` event for chip tap.
267
+
268
+ Catalog key: `Chip`
269
+ Builder: `Chip`
270
+ Props type: `ChipProps`
271
+ Accepts children: no
272
+ Events: `press`, `close`
273
+
274
+ ### Props
275
+
276
+ | Name | Required | Type | Description |
277
+ |---|---:|---|---|
278
+ | `children` | yes | string | Text content shown on the chip |
279
+ | `disabled` | no | boolean | Disables the chip. Default: false |
280
+ | `error` | no | boolean | Displays chip in error state. Default: false |
281
+ | `testID` | no | string | Sets testid on Chip (used for testing purposes) |
282
+
283
+ No additional properties.
284
+
285
+ ## Country
286
+
287
+ Country flag icon for a given ISO region code
288
+
289
+ `region` should be a valid ISO 3166-1 alpha-2 country code (e.g. "US", "GB", "IN").
290
+
291
+ Catalog key: `Country`
292
+ Builder: `Country`
293
+ Props type: `CountryProps`
294
+ Accepts children: no
295
+ Events: _none_
296
+
297
+ ### Props
298
+
299
+ | Name | Required | Type | Description |
300
+ |---|---:|---|---|
301
+ | `disabled` | no | boolean | Displays the country flag in a disabled state. Default: false |
302
+ | `region` | no | string | ISO 3166-1 alpha-2 country code to display (e.g. "US", "IN"). Default: US |
303
+
304
+ No additional properties.
305
+
306
+ ## Currency
307
+
308
+ Currency input
309
+
310
+ Currency input. `onChange` stores formatted currency string in state.
311
+
312
+ Catalog key: `Currency`
313
+ Builder: `Currency`
314
+ Props type: `CurrencyProps`
315
+ Accepts children: no
316
+ Events: `change`, `blur`
317
+
318
+ ### Props
319
+
320
+ | Name | Required | Type | Description |
321
+ |---|---:|---|---|
322
+ | `name` | no | string | Field name identifier for form binding |
323
+ | `acceptsCurrencyType` | no | boolean | If true, allows currency type selection. Default: false |
324
+ | `checks` | no | [CurrencyCheck](./types.md#currencycheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
325
+ | `decimalPlaces` | no | number | Number of decimal places allowed |
326
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
327
+ | `disabled` | no | boolean | Disables the input. Default: false |
328
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
329
+ | `helperText` | no | string | Help text shown below the input |
330
+ | `label` | no | string | Label shown above the input |
331
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
332
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
333
+ | `required` | no | boolean | Marks the field as required. Default: false |
334
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
335
+ | `testID` | no | string | Sets testid on InputCurrency (used for testing purposes) |
336
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
337
+ | `value` | no | string | Current currency string value — bind to state with $bindState |
338
+
339
+ No additional properties.
340
+
341
+ ## Date
342
+
343
+ Date picker input field
344
+
345
+ Date picker input. onChange stores ISO date string in state. Use format prop to control output format.
346
+
347
+ Catalog key: `Date`
348
+ Builder: `Date`
349
+ Props type: `DateProps`
350
+ Accepts children: no
351
+ Events: `change`, `blur`
352
+
353
+ ### Props
354
+
355
+ | Name | Required | Type | Description |
356
+ |---|---:|---|---|
357
+ | `acceptsTime` | no | boolean | If true, also shows a time input. Default: false |
358
+ | `clearable` | no | boolean | Shows a clear button to reset the value. Default: false |
359
+ | `defaultValue` | no | string | Default ISO date string for uncontrolled mode |
360
+ | `disabled` | no | boolean | Disables the date input. Default: false |
361
+ | `error` | no | string \| boolean | Error state or error message |
362
+ | `format` | no | string | Date format string e.g. "YYYY-MM-DD". Default: ISO string |
363
+ | `helperText` | no | string | Help text shown below the date input |
364
+ | `label` | yes | string | Label shown above the date input |
365
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
366
+ | `required` | no | boolean | Marks the field as required. Default: false |
367
+ | `sensitive` | no | boolean | Masks date value. Default: false |
368
+ | `testID` | no | string | Sets testid on Date (used for testing purposes) |
369
+ | `value` | no | string | ISO date string — bind to state with $bindState |
370
+
371
+ No additional properties.
372
+
373
+ ## DateRange
374
+
375
+ Date range picker with start and end date inputs
376
+
377
+ Date range picker. label must be [startLabel, endLabel]. onChange stores [startISO, endISO] in state.
378
+
379
+ Catalog key: `DateRange`
380
+ Builder: `DateRange`
381
+ Props type: `DateRangeProps`
382
+ Accepts children: no
383
+ Events: `change`
384
+
385
+ ### Props
386
+
387
+ | Name | Required | Type | Description |
388
+ |---|---:|---|---|
389
+ | `alignment` | no | [DateRangeAlignment](./definitions.md#daterangealignment) | Layout alignment of the two date fields. Default: row |
390
+ | `clearable` | no | boolean | Shows a clear button to reset both dates. Default: false |
391
+ | `defaultValue` | no | unknown[] | Default ISO date strings [start, end] |
392
+ | `disabled` | no | boolean | Disables both date inputs. Default: false |
393
+ | `error` | no | string | Error message shown below the inputs |
394
+ | `helperText` | no | string | Help text shown below the date range inputs |
395
+ | `label` | yes | unknown[] | Labels for [start, end] date |
396
+ | `readOnly` | no | boolean | Shows values without allowing edits. Default: false |
397
+ | `required` | no | boolean | Marks the fields as required. Default: false |
398
+ | `sensitive` | no | boolean | Masks date values. Default: false |
399
+ | `testID` | no | string | Sets testid on DateRange (used for testing purposes) |
400
+ | `value` | no | unknown[] | ISO date strings [start, end] — bind via $bindState |
401
+
402
+ No additional properties.
403
+
404
+ ## DateTimePicker
405
+
406
+ Modal date/time picker overlay
407
+
408
+ Modal date/time picker. Set visible:true to open. Wire "close" event to toggle visible. "change" event fires when user selects a date/time.
409
+
410
+ Catalog key: `DateTimePicker`
411
+ Builder: `DateTimePicker`
412
+ Props type: `DateTimePickerProps`
413
+ Accepts children: no
414
+ Events: `close`, `change`
415
+
416
+ ### Props
417
+
418
+ | Name | Required | Type | Description |
419
+ |---|---:|---|---|
420
+ | `clearable` | no | boolean | Shows a clear button to reset the value. Default: false |
421
+ | `native` | no | boolean | If true, uses the native platform date picker |
422
+ | `range` | no | boolean | If true, shows a date range picker |
423
+ | `testID` | no | string | Sets testid on DateTimePicker (used for testing purposes) |
424
+ | `type` | no | [DateTimePickerType](./definitions.md#datetimepickertype) | Picker type. Default: date |
425
+ | `visible` | yes | boolean | Controls whether the picker is shown |
426
+
427
+ No additional properties.
428
+
429
+ ## Divider
430
+
431
+ Sub-component of ObjectUI. Horizontal rule that separates ObjectUI sections
432
+
433
+ Catalog key: `Divider`
434
+ Builder: `Divider`
435
+ Props type: `DividerProps`
436
+ Accepts children: no
437
+ Events: _none_
438
+
439
+ ### Props
440
+
441
+ | Name | Required | Type | Description |
442
+ |---|---:|---|---|
443
+ | `size` | no | [DividerSize](./definitions.md#dividersize) | Vertical spacing size of the divider. Default: extraSmall |
444
+
445
+ No additional properties.
446
+
447
+ ## Email
448
+
449
+ Email text input that validates email format
450
+
451
+ Email text input that validates email format. `onChange` stores a string in state.
452
+
453
+ Catalog key: `Email`
454
+ Builder: `Email`
455
+ Props type: `EmailProps`
456
+ Accepts children: no
457
+ Events: `change`, `blur`
458
+
459
+ ### Props
460
+
461
+ | Name | Required | Type | Description |
462
+ |---|---:|---|---|
463
+ | `name` | no | string | Field name identifier for form binding |
464
+ | `checks` | no | [EmailCheck](./types.md#emailcheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
465
+ | `clearable` | no | boolean | Shows a clear button when the field has a value. Default: false |
466
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
467
+ | `disabled` | no | boolean | Disables the input. Default: false |
468
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
469
+ | `helperText` | no | string | Help text shown below the input |
470
+ | `label` | no | string | Label shown above the input |
471
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
472
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
473
+ | `required` | no | boolean | Marks the field as required. Default: false |
474
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
475
+ | `testID` | no | string | Sets testid on InputEmail (used for testing purposes) |
476
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
477
+ | `value` | no | string | Current email value — bind to state with $bindState |
478
+
479
+ No additional properties.
480
+
481
+ ## EmployeeSearch
482
+
483
+ Searches employees with RoleWithCompany.searchV2 and supports SettingsForm or standalone state binding.
484
+
485
+ Matches the non-paginated web EmployeeSearch data flow: trimmed non-empty queries, React Query caching, default active-role filters, permission/action filters, and include/ignore filtering.
486
+ Mobile selected ids are hydrated through multiGet so names remain visible before another search. Empty queries never call employee_search_v2.
487
+ By default, empty search preloads all matching employees through find_paginated in 100-person batches. Set `enableEmptySearch` to false to require typed search. The accumulated list is cached for one minute and supplied to InputSelect; typed searches continue using employee_search_v2.
488
+ Bind `value` with `$bindState`. When nested in SettingsForm, also provide a stable `name`; FormEngine then owns validation while SDUI state remains the API payload source.
489
+ Cursor/infinite-scroll mode is intentionally not exposed because the current mobile InputSelect remote-search contract is non-paginated.
490
+
491
+ Catalog key: `EmployeeSearch`
492
+ Builder: `EmployeeSearch`
493
+ Props type: `EmployeeSearchProps`
494
+ Accepts children: no
495
+ Events: `change`
496
+
497
+ ### Props
498
+
499
+ | Name | Required | Type | Description |
500
+ |---|---:|---|---|
501
+ | `name` | no | string | FormEngine field name when nested in SettingsForm. |
502
+ | `canClear` | no | boolean | Allows the current selection to be cleared. |
503
+ | `defaultValue` | no | unknown | Initial selected role id or ids. |
504
+ | `enableEmptySearch` | no | boolean | Preloads all matching employees for an empty query so the selector is populated before typing. Defaults to true; set false to require typed search. |
505
+ | `filters` | no | [Filter](./types.md#filter) | Serializable RoleWithCompany.searchV2 filters and request options. |
506
+ | `helperMessage` | no | string | Localized helper or validation text. |
507
+ | `isDisabled` | no | boolean | Disables interaction in edit mode. |
508
+ | `isMulti` | no | boolean | Allows multiple employee selections. |
509
+ | `isReadOnly` | no | boolean | Always renders selected employees read-only. |
510
+ | `isRequired` | no | boolean | Requires a selection before form submit. |
511
+ | `placeholder` | no | string | Localized placeholder displayed in the search sheet. |
512
+ | `roleIdsToIgnore` | no | string[] | Role ids excluded from search results. |
513
+ | `roleIdsToInclude` | no | string[] | When non-empty, restricts results to these role ids. |
514
+ | `roleTypes` | no | string[] | Role categories used by the paginated empty-query preload. Defaults to GOOD. |
515
+ | `shouldUseDefaultFilter` | no | boolean | Uses ACTIVE, ACCEPTED, and HIRED role states by default. Set false to use filters.roleFilter. |
516
+ | `testID` | no | string | Identifier used by automated tests. |
517
+ | `tip` | no | string \| [EmployeeSearchTip](./types.md#employeesearchtip) | Localized field tip when used in SettingsForm. |
518
+ | `title` | yes | string | Localized label displayed above the selector. |
519
+ | `validationError` | no | string | Localized required or validation error. |
520
+ | `value` | no | unknown | Selected role id or ids. Bind with $bindState for form and standalone usage. |
521
+
522
+ No additional properties.
523
+
524
+ ## ExpansionPanel
525
+
526
+ Collapsible panel with a header that toggles content visibility
527
+
528
+ The `toggle` event fires when the panel is expanded or collapsed. Use `expanded: { $bindState: "/panel/open" }` for fully controlled mode. Use `headerLeft` and `headerRight` to render content in the header slots via json-render sub-specs.
529
+
530
+ Catalog key: `ExpansionPanel`
531
+ Builder: `ExpansionPanel`
532
+ Props type: `ExpansionPanelProps`
533
+ Accepts children: yes
534
+ Events: `toggle`
535
+
536
+ ### Props
537
+
538
+ | Name | Required | Type | Description |
539
+ |---|---:|---|---|
540
+ | `defaultExpanded` | no | boolean | Opens the panel by default on first render. Default: false |
541
+ | `disabled` | no | boolean | Prevents toggling the panel open or closed. Default: false |
542
+ | `expanded` | no | boolean | Controlled expanded state — bind to state with $bindState |
543
+ | `headerLeft` | no | [HeaderLeft](./types.md#headerleft) | A json-render spec to render as the left slot of the panel header |
544
+ | `headerRight` | no | [HeaderRight](./types.md#headerright) | A json-render spec to render as the right slot of the panel header |
545
+ | `maxHeight` | no | number | Maximum height for panel content. Use when content may exceed screen size. Default: unbounded |
546
+ | `testID` | no | string | Sets testid on ExpansionPanel (used for testing purposes) |
547
+ | `title` | no | string | Header title text shown in the panel header bar |
548
+
549
+ No additional properties.
550
+
551
+ ## FileViewerButton
552
+
553
+ Button that opens the in-app viewer for a given file
554
+
555
+ Set `file.url` or `file.uri` (or both). Optional `buttonProps` matches `Button` props except `onPress` is owned by the viewer. Wire `press` for side effects after the viewer is invoked.
556
+
557
+ Catalog key: `FileViewerButton`
558
+ Builder: `FileViewerButton`
559
+ Props type: `FileViewerButtonProps`
560
+ Accepts children: no
561
+ Events: `press`
562
+
563
+ ### Props
564
+
565
+ | Name | Required | Type | Description |
566
+ |---|---:|---|---|
567
+ | `buttonProps` | no | [ButtonProp](./types.md#buttonprop) | Optional Button props (label, appearance, icons, etc.). `onPress` is owned by the file viewer. |
568
+ | `file` | yes | [FileViewerButtonFile](./types.md#fileviewerbuttonfile) | Target file; provide url for remote assets or uri for on-device files |
569
+
570
+ No additional properties.
571
+
572
+ ## FileViewerPressable
573
+
574
+ Pressable region that opens the in-app viewer for a given file
575
+
576
+ Set `file.url` or `file.uri`. Optional `pressableProps` matches `Pressable` props except `onPress` is owned by the viewer. Put visible content in children. Wire `press` for analytics or follow-up actions.
577
+
578
+ Catalog key: `FileViewerPressable`
579
+ Builder: `FileViewerPressable`
580
+ Props type: `FileViewerPressableProps`
581
+ Accepts children: yes
582
+ Events: `press`
583
+
584
+ ### Props
585
+
586
+ | Name | Required | Type | Description |
587
+ |---|---:|---|---|
588
+ | `file` | yes | [FileViewerPressableFile](./types.md#fileviewerpressablefile) | Target file; provide url for remote assets or uri for on-device files |
589
+ | `pressableProps` | no | [PressableProp](./types.md#pressableprop) | Optional Pressable props (underlay, disabled, etc.). `onPress` is owned by the file viewer; put visible UI in children. |
590
+
591
+ No additional properties.
592
+
593
+ ## FloatingButton
594
+
595
+ Floating action button with shadow, configurable appearance, and haptic feedback
596
+
597
+ Catalog key: `FloatingButton`
598
+ Builder: `FloatingButton`
599
+ Props type: `FloatingButtonProps`
600
+ Accepts children: no
601
+ Events: `press`
602
+
603
+ ### Props
604
+
605
+ | Name | Required | Type | Description |
606
+ |---|---:|---|---|
607
+ | `appearance` | no | [FloatingButtonAppearance](./definitions.md#floatingbuttonappearance) | Button appearance. Default: primary |
608
+ | `children` | no | string | Button label text |
609
+ | `disabled` | no | boolean | Disables the button. Default: false |
610
+ | `haptic` | no | boolean | Enables haptic feedback on press. Default: true |
611
+ | `leftIcon` | no | string | Pebble icon name to show on the left of the label |
612
+ | `outlined` | no | boolean | Shows button with outline border style |
613
+ | `rightIcon` | no | string | Pebble icon name to show on the right of the label |
614
+ | `shadowDisabled` | no | boolean | Disables the drop shadow. Default: false |
615
+ | `spinner` | no | boolean | Shows a loading spinner. Bind to state for async feedback. Default: false |
616
+ | `testID` | no | string | Sets testid on FloatingButton (used for testing purposes) |
617
+ | `variant` | no | [FloatingButtonVariant](./definitions.md#floatingbuttonvariant) | Button variant. Default: base |
618
+
619
+ No additional properties.
620
+
621
+ ## Form
622
+
623
+ Form container that manages validation, submission, and input layout
624
+
625
+ Wrap form inputs as children. "submit" event fires with validated data. Use hideSubmitButton:true when providing a custom submit button.
626
+
627
+ Catalog key: `Form`
628
+ Builder: `Form`
629
+ Props type: `FormProps`
630
+ Accepts children: yes
631
+ Events: `submit`, `valid`, `invalid`
632
+
633
+ ### Props
634
+
635
+ | Name | Required | Type | Description |
636
+ |---|---:|---|---|
637
+ | `description` | no | string | Description to show on the Form |
638
+ | `disabled` | no | boolean | Disables the entire form. Default: false |
639
+ | `hideSubmitButton` | no | boolean | Hides the default submit button. Use when providing a custom submit button. Default: false |
640
+ | `keyboardAvoidingEnabled` | no | boolean | Wraps form in KeyboardAvoidingView to prevent keyboard overlap. Default: false |
641
+ | `padding` | no | boolean | If false, removes padding around the form. Default: true |
642
+ | `scrollable` | no | boolean | Enables scrolling within the form. Default: false |
643
+ | `style` | no | [FormStyle](./types.md#formstyle) | Container style overrides applied to the form wrapper — token keys only, e.g. { marginTop: "space200" } |
644
+ | `submitOnKeyboardDone` | no | boolean | Submits the form when the keyboard Done button is pressed. Default: false |
645
+ | `successMessage` | no | string | Message displayed after successful form submit |
646
+ | `testID` | no | string | Sets testid on Form (used for testing purposes) |
647
+ | `title` | no | string | Title to show on the Form |
648
+ | `triggerChangeOnInputUnmount` | no | boolean | Triggers onChange when an input is unmounted. Default: false |
649
+
650
+ No additional properties.
651
+
652
+ ## FormCheckboxGroup
653
+
654
+ FormEngine-aware checkbox group with state binding and declarative mutex normalization.
655
+
656
+ Use only inside SettingsForm. Bind `value` to a field beneath the SettingsForm model.
657
+ `exclusive: "all"` makes a selected member exclusive with every other option. `exclusive: "group"` allows only one selected member from that group.
658
+ Normalization happens before FormEngine and SDUI state are updated, so change actions always observe the normalized value.
659
+
660
+ Catalog key: `FormCheckboxGroup`
661
+ Builder: `FormCheckboxGroup`
662
+ Props type: `FormCheckboxGroupProps`
663
+ Accepts children: no
664
+ Events: `change`
665
+
666
+ ### Props
667
+
668
+ | Name | Required | Type | Description |
669
+ |---|---:|---|---|
670
+ | `name` | yes | string | Stable FormEngine field name. |
671
+ | `defaultValue` | no | string[] | Initial selected ids. |
672
+ | `disabled` | no | boolean | Disables the field in edit mode. |
673
+ | `helperText` | no | string | Localized helper or validation text. |
674
+ | `isRequired` | no | boolean | Requires a non-empty value before submit. |
675
+ | `mutexRules` | no | [MutexRule](./types.md#mutexrule)[] | Backend-authored mutual-exclusion rules. |
676
+ | `options` | yes | unknown \| unknown[] | Checkbox choices authored by the backend. |
677
+ | `readOnly` | no | boolean | Always renders the field as read-only. |
678
+ | `testID` | no | string | Identifier used by automated tests. |
679
+ | `tip` | no | string \| [FormCheckboxGroupTip](./types.md#formcheckboxgrouptip) | Localized field tip. |
680
+ | `title` | no | string | Localized field label. |
681
+ | `validationError` | no | string | Localized required or validation error. |
682
+ | `value` | no | string[] | Selected ids. Bind to a path inside SettingsForm.model with $bindState. |
683
+
684
+ No additional properties.
685
+
686
+ ## FormRadioGroup
687
+
688
+ FormEngine-aware radio group backed by SDUI state.
689
+
690
+ Use inside SettingsForm and bind `value` beneath the form model.
691
+
692
+ Catalog key: `FormRadioGroup`
693
+ Builder: `FormRadioGroup`
694
+ Props type: `FormRadioGroupProps`
695
+ Accepts children: no
696
+ Events: `change`
697
+
698
+ ### Props
699
+
700
+ | Name | Required | Type | Description |
701
+ |---|---:|---|---|
702
+ | `name` | yes | string | Stable FormEngine field name. |
703
+ | `defaultValue` | no | string | Initial selected id. |
704
+ | `disabled` | no | boolean | Disables the field in edit mode. |
705
+ | `helperText` | no | string | Localized helper or validation text. |
706
+ | `isRequired` | no | boolean | Requires a non-empty value before submit. |
707
+ | `options` | yes | unknown \| unknown[] | Radio choices authored by the backend. |
708
+ | `readOnly` | no | boolean | Always renders the field as read-only. |
709
+ | `testID` | no | string | Identifier used by automated tests. |
710
+ | `tip` | no | string \| [FormRadioGroupTip](./types.md#formradiogrouptip) | Localized field tip. |
711
+ | `title` | no | string | Localized field label. |
712
+ | `validationError` | no | string | Localized required or validation error. |
713
+ | `value` | no | string | Selected id. Bind to a path inside SettingsForm.model with $bindState. |
714
+
715
+ No additional properties.
716
+
717
+ ## FormSwitch
718
+
719
+ FormEngine-aware boolean switch backed by SDUI state.
720
+
721
+ Use inside SettingsForm and bind `value` beneath the form model.
722
+
723
+ Catalog key: `FormSwitch`
724
+ Builder: `FormSwitch`
725
+ Props type: `FormSwitchProps`
726
+ Accepts children: no
727
+ Events: `change`
728
+
729
+ ### Props
730
+
731
+ | Name | Required | Type | Description |
732
+ |---|---:|---|---|
733
+ | `name` | yes | string | Stable FormEngine field name. |
734
+ | `defaultValue` | no | boolean | Initial boolean value. |
735
+ | `disabled` | no | boolean | Disables the field in edit mode. |
736
+ | `haptic` | no | boolean | Enables haptic feedback. |
737
+ | `helperText` | no | string | Localized helper or validation text. |
738
+ | `isRequired` | no | boolean | Requires a non-empty value before submit. |
739
+ | `readOnly` | no | boolean | Always renders the field as read-only. |
740
+ | `testID` | no | string | Identifier used by automated tests. |
741
+ | `tip` | no | string \| [FormSwitchTip](./types.md#formswitchtip) | Localized field tip. |
742
+ | `title` | no | string | Localized field label. |
743
+ | `validationError` | no | string | Localized required or validation error. |
744
+ | `value` | no | unknown | Current value. Bind to a path inside SettingsForm.model with $bindState. |
745
+
746
+ No additional properties.
747
+
748
+ ## Group
749
+
750
+ Groups two input children side-by-side with shared validation state
751
+
752
+ Groups 2 input children side-by-side. Provides shared error and helper text.
753
+
754
+ Catalog key: `Group`
755
+ Builder: `Group`
756
+ Props type: `GroupProps`
757
+ Accepts children: yes
758
+ Events: _none_
759
+
760
+ ### Props
761
+
762
+ | Name | Required | Type | Description |
763
+ |---|---:|---|---|
764
+ | `disabled` | no | boolean | Disables all inputs in the group. Default: false |
765
+ | `error` | no | string \| boolean | Error state or error message for the group |
766
+ | `helperText` | no | string | Helper text shown below the grouped inputs |
767
+ | `required` | no | boolean | Marks the group as required. Default: false |
768
+ | `testID` | no | string | Sets testid on Group (used for testing purposes) |
769
+
770
+ No additional properties.
771
+
772
+ ## Hidden
773
+
774
+ Hidden state carrier — no visible UI
775
+
776
+ Hidden state carrier — no visible UI. Use $bindState on value to store any JSON-serializable value in spec state.
777
+
778
+ Catalog key: `Hidden`
779
+ Builder: `Hidden`
780
+ Props type: `HiddenProps`
781
+ Accepts children: no
782
+ Events: `change`
783
+
784
+ ### Props
785
+
786
+ | Name | Required | Type | Description |
787
+ |---|---:|---|---|
788
+ | `defaultValue` | no | unknown | Initial value for uncontrolled mode |
789
+ | `value` | no | unknown | Current value — bind to state with $bindState to store any JSON-serializable value |
790
+
791
+ No additional properties.
792
+
793
+ ## HStack
794
+
795
+ Horizontal flex row container
796
+
797
+ Lays children out horizontally. By default, HStack wraps its content (shrinks to fit children). Use `width: "sizeFull"` to stretch and fill the available width. Use `gap` for spacing, `align` for cross-axis alignment, `justify` for main-axis distribution.
798
+
799
+ Catalog key: `HStack`
800
+ Builder: `HStack`
801
+ Props type: `HStackProps`
802
+ Accepts children: yes
803
+ Events: _none_
804
+
805
+ ### Props
806
+
807
+ | Name | Required | Type | Description |
808
+ |---|---:|---|---|
809
+ | `align` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
810
+ | `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
811
+ | `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
812
+ | `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
813
+ | `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
814
+ | `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
815
+ | `flex` | no | number | Flex grow/shrink factor |
816
+ | `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
817
+ | `grow` | no | number | Flex grow factor |
818
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
819
+ | `justify` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
820
+ | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
821
+ | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
822
+ | `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
823
+ | `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
824
+ | `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
825
+ | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
826
+ | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
827
+ | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
828
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
829
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
830
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
831
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
832
+ | `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
833
+ | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
834
+ | `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
835
+ | `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
836
+ | `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
837
+ | `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
838
+ | `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
839
+ | `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
840
+ | `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
841
+ | `radius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
842
+ | `reverse` | no | boolean | Reverses the row direction. Default: false |
843
+ | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
844
+ | `scrollView` | no | boolean | If true, wraps children in a horizontal ScrollView instead of a View |
845
+ | `shrink` | no | number | Flex shrink factor |
846
+ | `testID` | no | string | Sets testid on HStack (used for testing purposes) |
847
+ | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
848
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
849
+ | `wrap` | no | [HStackWrap](./definitions.md#hstackwrap) | Whether children wrap to next line. Default: nowrap |
850
+ | `zIndex` | no | number | Stack order |
851
+
852
+ No additional properties.
853
+
854
+ ## Icon
855
+
856
+ Scalable vector icon from the pebble icon pack
857
+
858
+ `type` must be a valid pebble icon name. Wire `onPress` to the `press` event to make the icon tappable.
859
+
860
+ Catalog key: `Icon`
861
+ Builder: `Icon`
862
+ Props type: `IconProps`
863
+ Accepts children: no
864
+ Events: `press`
865
+
866
+ ### Props
867
+
868
+ | Name | Required | Type | Description |
869
+ |---|---:|---|---|
870
+ | `color` | no | string | Icon color (design token or hex color string) |
871
+ | `disabled` | no | boolean | Disables the icon and its interactions. Default: false |
872
+ | `size` | no | number | Icon size in points. Default: 24 |
873
+ | `testID` | no | string | Sets testid on Icon (used for testing purposes) |
874
+ | `type` | yes | string | Icon name from the pebble icon pack (e.g. "check", "close", "arrowRight") |
875
+
876
+ No additional properties.
877
+
878
+ ## Image
879
+
880
+ Displays a raster or SVG image from a remote URL
881
+
882
+ Use `style` with token keys (e.g. { width: "size400", height: "size400", marginTop: "space200" }) for layout and sizing. `shapeCorner` sets preset border radius; style `borderRadius` tokens can further override corners. Use `contentFit` to control how the image scales within its bounds.
883
+
884
+ Catalog key: `Image`
885
+ Builder: `Image`
886
+ Props type: `ImageProps`
887
+ Accepts children: no
888
+ Events: _none_
889
+
890
+ ### Props
891
+
892
+ | Name | Required | Type | Description |
893
+ |---|---:|---|---|
894
+ | `contentFit` | no | [AvatarContentFit](./definitions.md#avatarcontentfit) | How the image scales within its bounds. Default: cover |
895
+ | `shapeCorner` | no | [ImageShapeCorner](./definitions.md#imageshapecorner) | Border radius of the image. Default: none |
896
+ | `source` | no | string \| [ImageSource](./types.md#imagesource) \| [ImageSource](./types.md#imagesource) | Image source — a URI string, a structured source object { uri, width?, height?, headers? }, or a themed variant { light: source, dark: source } |
897
+ | `style` | no | [ImageStyle](./types.md#imagestyle) | Image style overrides — token keys only, e.g. { width: "size400", height: "size400", marginTop: "space200" } |
898
+ | `supportsSvgCss` | no | boolean | If true, CSS support for remote SVG URI will be added. Default: false |
899
+ | `testID` | no | string | Sets testid on Image (used for testing purposes) |
900
+
901
+ No additional properties.
902
+
903
+ ## InputText
904
+
905
+ Single-line text input field
906
+
907
+ `onChange` stores the string value to the bound state path. Use `checks` + `validateOn` for inline validation.
908
+
909
+ Catalog key: `InputText`
910
+ Builder: `InputText`
911
+ Props type: `InputTextProps`
912
+ Accepts children: no
913
+ Events: `change`, `blur`
914
+
915
+ ### Props
916
+
917
+ | Name | Required | Type | Description |
918
+ |---|---:|---|---|
919
+ | `name` | no | string | Field name identifier for form binding |
920
+ | `checks` | no | [InputTextCheck](./types.md#inputtextcheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
921
+ | `clearable` | no | boolean | Shows a clear button when the field has a value. Default: false |
922
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
923
+ | `disabled` | no | boolean | Disables the input. Default: false |
924
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
925
+ | `helperText` | no | string | Help text shown below the input |
926
+ | `label` | no | string | Label shown above the input |
927
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
928
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
929
+ | `required` | no | boolean | Marks the field as required. Default: false |
930
+ | `rightIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name shown on the right side of the input |
931
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. masked in screenshots). Default: false |
932
+ | `testID` | no | string | Sets testid on InputText (used for testing purposes) |
933
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
934
+ | `value` | no | string | Current text value — bind to state with $bindState |
935
+
936
+ No additional properties.
937
+
938
+ ## Label
939
+
940
+ Styled inline text label with predefined appearances
941
+
942
+ Catalog key: `Label`
943
+ Builder: `Label`
944
+ Props type: `LabelProps`
945
+ Accepts children: no
946
+ Events: _none_
947
+
948
+ ### Props
949
+
950
+ | Name | Required | Type | Description |
951
+ |---|---:|---|---|
952
+ | `appearance` | no | [LabelAppearance](./definitions.md#labelappearance) | Label appearance. Default: primary |
953
+ | `label` | yes | string | Text content to display in the label |
954
+ | `testID` | no | string | Sets testid on Label (used for testing purposes) |
955
+
956
+ No additional properties.
957
+
958
+ ## List
959
+
960
+ Scrollable list container for ListItem children
961
+
962
+ Place `ListItem` components as children. The list renders them vertically with optional separator lines.
963
+
964
+ Catalog key: `List`
965
+ Builder: `List`
966
+ Props type: `ListProps`
967
+ Accepts children: yes
968
+ Events: _none_
969
+
970
+ ### Props
971
+
972
+ | Name | Required | Type | Description |
973
+ |---|---:|---|---|
974
+ | `outlined` | no | boolean | Adds a border around the list container. Default: false |
975
+ | `testID` | no | string | Sets testid on List (used for testing purposes) |
976
+
977
+ No additional properties.
978
+
979
+ ## ListItem
980
+
981
+ Sub-component of List. Row item used inside a List container
982
+
983
+ Wire the `press` event to handle row taps. Pass `prefix` and/or `right` as json-render sub-specs to render content in the left and right slots.
984
+
985
+ Catalog key: `ListItem`
986
+ Builder: `ListItem`
987
+ Props type: `ListItemProps`
988
+ Accepts children: no
989
+ Events: `press`
990
+
991
+ ### Props
992
+
993
+ | Name | Required | Type | Description |
994
+ |---|---:|---|---|
995
+ | `appearance` | no | [ListItemAppearance](./definitions.md#listitemappearance) | Background appearance of the list item. Default: surfaceBright |
996
+ | `description` | no | string | Secondary description text shown below the title |
997
+ | `enableScaleAnimation` | no | boolean | Enables scale-down animation on press. Default: false |
998
+ | `fluidContent` | no | [ListItemFluidContent](./definitions.md#listitemfluidcontent) | Makes one side fluid/flexible. Default: none |
999
+ | `overline` | no | string | Small text shown above the title |
1000
+ | `prefix` | no | [Prefix](./types.md#prefix) | A json-render spec to render as the prefix (left) element of the ListItem, e.g. an Avatar or Icon |
1001
+ | `right` | no | [ListItemRight](./types.md#listitemright) | A json-render spec to render on the right side of the ListItem, e.g. a Badge or Label |
1002
+ | `separator` | no | boolean | Shows a separator line below the item. Default: true |
1003
+ | `spacing` | no | [ListItemSpacing](./definitions.md#listitemspacing) | Vertical padding of the item. Default: default |
1004
+ | `testID` | no | string | Sets testid on ListItem (used for testing purposes) |
1005
+ | `title` | no | string | Primary text shown in the list item |
1006
+ | `underlayAppearance` | no | [ListItemUnderlayAppearance](./definitions.md#listitemunderlayappearance) | Active layer appearance when pressed. Default: base |
1007
+
1008
+ No additional properties.
1009
+
1010
+ ## ModalSheet
1011
+
1012
+ Bottom sheet modal with gesture support and children slot
1013
+
1014
+ Set visible:true to show the sheet. Wire "close" event to toggle visible state.
1015
+
1016
+ Catalog key: `ModalSheet`
1017
+ Builder: `ModalSheet`
1018
+ Props type: `ModalSheetProps`
1019
+ Accepts children: yes
1020
+ Events: `close`
1021
+
1022
+ ### Props
1023
+
1024
+ | Name | Required | Type | Description |
1025
+ |---|---:|---|---|
1026
+ | `animationDuration` | no | [ModalSheetAnimationDuration](./definitions.md#modalsheetanimationduration) | Motion duration token for the sheet animation. Default: moderate |
1027
+ | `disableSafeArea` | no | boolean | If true, disables safe area insets inside the sheet. Default: false |
1028
+ | `gesturePinVisible` | no | boolean | If true, shows the gesture pin at the top of the sheet. Default: true |
1029
+ | `header` | no | [ModalSheetHeader](./types.md#modalsheetheader) | A json-render spec to render as the header component of the ModalSheet, e.g. PageModalActionHeader |
1030
+ | `testID` | no | string | Sets testid on ModalSheet (used for testing purposes) |
1031
+ | `visible` | yes | boolean | If true, the ModalSheet will be visible |
1032
+
1033
+ No additional properties.
1034
+
1035
+ ## Notice
1036
+
1037
+ Inline alert banner with title, description, and actions
1038
+
1039
+ `description` and action buttons are only shown in `base` variant (default). Wire `primaryPress` / `secondaryPress` events to handle button taps. Wire `close` event to handle the X dismiss button (base variant only).
1040
+
1041
+ Catalog key: `Notice`
1042
+ Builder: `Notice`
1043
+ Props type: `NoticeProps`
1044
+ Accepts children: no
1045
+ Events: `primaryPress`, `secondaryPress`, `close`
1046
+
1047
+ ### Props
1048
+
1049
+ | Name | Required | Type | Description |
1050
+ |---|---:|---|---|
1051
+ | `appearance` | no | [NoticeAppearance](./definitions.md#noticeappearance) | Notice appearance. Default: primary |
1052
+ | `description` | no | string | Notice description text (only shown in base variant) |
1053
+ | `haptic` | no | boolean | Enables haptic feedback when notice appears. Default: true |
1054
+ | `icon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name to display above the title |
1055
+ | `primaryAction` | no | [NoticePrimaryAction](./types.md#noticeprimaryaction) | Primary action button — wire to `primaryPress` event |
1056
+ | `secondaryAction` | no | [NoticeSecondaryAction](./types.md#noticesecondaryaction) | Secondary action button — wire to `secondaryPress` event |
1057
+ | `testID` | no | string | Sets testid on Notice (used for testing purposes) |
1058
+ | `title` | no | string | Notice title text |
1059
+ | `variant` | no | [NoticeVariant](./definitions.md#noticevariant) | Notice layout variant. Default: base |
1060
+
1061
+ No additional properties.
1062
+
1063
+ ## Number
1064
+
1065
+ Numeric text input
1066
+
1067
+ Numeric text input. `onChange` stores a number string in state.
1068
+
1069
+ Catalog key: `Number`
1070
+ Builder: `Number`
1071
+ Props type: `NumberProps`
1072
+ Accepts children: no
1073
+ Events: `change`, `blur`
1074
+
1075
+ ### Props
1076
+
1077
+ | Name | Required | Type | Description |
1078
+ |---|---:|---|---|
1079
+ | `name` | no | string | Field name identifier for form binding |
1080
+ | `allowNegative` | no | boolean | If true, allows negative values. Default: false |
1081
+ | `checks` | no | [NumberCheck](./types.md#numbercheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
1082
+ | `decimalPlaces` | no | number | Number of decimal places allowed |
1083
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
1084
+ | `disabled` | no | boolean | Disables the input. Default: false |
1085
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
1086
+ | `helperText` | no | string | Help text shown below the input |
1087
+ | `label` | no | string | Label shown above the input |
1088
+ | `locale` | no | string | Locale string for number formatting e.g. "en-US" |
1089
+ | `max` | no | number | Maximum accepted value |
1090
+ | `min` | no | number | Minimum accepted value |
1091
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
1092
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
1093
+ | `required` | no | boolean | Marks the field as required. Default: false |
1094
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
1095
+ | `testID` | no | string | Sets testid on InputNumber (used for testing purposes) |
1096
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
1097
+ | `value` | no | string | Current numeric string value — bind to state with $bindState |
1098
+
1099
+ No additional properties.
1100
+
1101
+ ## ObjectFooter
1102
+
1103
+ Sub-component of ObjectUI. Footer with approve, reject, notes buttons and optional chevrons
1104
+
1105
+ Catalog key: `ObjectFooter`
1106
+ Builder: `ObjectFooter`
1107
+ Props type: `ObjectFooterProps`
1108
+ Accepts children: no
1109
+ Events: `reject`, `approve`, `notes`, `leftChevron`, `rightChevron`
1110
+
1111
+ ### Props
1112
+
1113
+ | Name | Required | Type | Description |
1114
+ |---|---:|---|---|
1115
+ | `chevron` | no | boolean | If true, displays left and right chevrons. Default: false |
1116
+ | `testID` | no | string | Sets testid on ObjectFooter (used for testing purposes) |
1117
+ | `timerText` | no | string | Text to display in the timer area |
1118
+
1119
+ No additional properties.
1120
+
1121
+ ## ObjectItem
1122
+
1123
+ Sub-component of ObjectUI. A row item for object detail views with title, optional prefix (lhs) and suffix (rhs)
1124
+
1125
+ Pass `lhs` and/or `rhs` props as json-render specs ({ root, elements }) to render prefix and suffix content. Each spec is rendered inline via the Renderer.
1126
+
1127
+ Catalog key: `ObjectItem`
1128
+ Builder: `ObjectItem`
1129
+ Props type: `ObjectItemProps`
1130
+ Accepts children: no
1131
+ Events: _none_
1132
+
1133
+ ### Props
1134
+
1135
+ | Name | Required | Type | Description |
1136
+ |---|---:|---|---|
1137
+ | `align` | no | [ObjectItemAlign](./definitions.md#objectitemalign) | Vertical alignment of content. Default: center |
1138
+ | `appearance` | no | [ObjectItemAppearance](./definitions.md#objectitemappearance) | Background appearance of the ObjectItem. Default: surface |
1139
+ | `chevron` | no | boolean | If true, displays chevron on the right side. Default: false |
1140
+ | `heavy` | no | boolean | If true, makes the title font weight heavy. Default: false |
1141
+ | `lhs` | no | [Lh](./types.md#lh) | A json-render spec to render as the prefix (left-hand side) of the ObjectItem, e.g. an Avatar or Icon |
1142
+ | `lhsMaxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width of the left-hand side content — size token |
1143
+ | `rhs` | no | [Rh](./types.md#rh) | A json-render spec to render on the right side of the ObjectItem, e.g. Label or Status elements |
1144
+ | `rhsMaxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width of the right-hand side content — size token |
1145
+ | `testID` | no | string | Sets testid on ObjectItem (used for testing purposes) |
1146
+ | `title` | no | string | Title to show on the ObjectItem |
1147
+
1148
+ No additional properties.
1149
+
1150
+ ## PageCondensedFooter
1151
+
1152
+ Condensed footer with title, logo icon, and optional action button
1153
+
1154
+ Catalog key: `PageCondensedFooter`
1155
+ Builder: `PageCondensedFooter`
1156
+ Props type: `PageCondensedFooterProps`
1157
+ Accepts children: no
1158
+ Events: `action`
1159
+
1160
+ ### Props
1161
+
1162
+ | Name | Required | Type | Description |
1163
+ |---|---:|---|---|
1164
+ | `action` | no | [PageCondensedFooterAction](./types.md#pagecondensedfooteraction) | Optional action button. Press emits "action". |
1165
+ | `logoIcon` | no | string | Pebble icon name to use as the logo |
1166
+ | `testID` | no | string | Sets testid on CondensedFooter (used for testing purposes) |
1167
+ | `title` | yes | string | Title text in the footer |
1168
+
1169
+ No additional properties.
1170
+
1171
+ ## PageCondensedHeader
1172
+
1173
+ Condensed page header with title
1174
+
1175
+ Catalog key: `PageCondensedHeader`
1176
+ Builder: `PageCondensedHeader`
1177
+ Props type: `PageCondensedHeaderProps`
1178
+ Accepts children: no
1179
+ Events: _none_
1180
+
1181
+ ### Props
1182
+
1183
+ | Name | Required | Type | Description |
1184
+ |---|---:|---|---|
1185
+ | `outlined` | no | boolean | Shows an outline border on the header. Default: false |
1186
+ | `right` | no | [PageCondensedHeaderRight](./types.md#pagecondensedheaderright) | A json-render spec to render as the right element on the header |
1187
+ | `testID` | no | string | Sets testid on CondensedHeader (used for testing purposes) |
1188
+ | `title` | yes | string | Title to show on the header |
1189
+
1190
+ No additional properties.
1191
+
1192
+ ## PageContent
1193
+
1194
+ The standard wrapper for a page's main body area. Use PageContent for every page-level content region.
1195
+
1196
+ PageContent renders as Page.Content from Pebble Mobile. It fills the available page body, always lays out children vertically, and applies space400 padding on all sides by default. Use align for horizontal child alignment, select padding regions with the padding prop, or apply all safe-area insets with enableSafeArea.
1197
+
1198
+ Catalog key: `PageContent`
1199
+ Builder: `PageContent`
1200
+ Props type: `PageContentProps`
1201
+ Accepts children: yes
1202
+ Events: _none_
1203
+
1204
+ ### Props
1205
+
1206
+ | Name | Required | Type | Description |
1207
+ |---|---:|---|---|
1208
+ | `align` | no | [HStackAlign](./definitions.md#hstackalign) | Alignment of child elements along the horizontal axis |
1209
+ | `enableSafeArea` | no | boolean | Whether to add all safe-area insets to the content padding |
1210
+ | `gap` | no | number | Gap between child elements |
1211
+ | `padding` | no | [PageContentPadding](./definitions.md#pagecontentpadding)[] | Areas padded using the space400 token |
1212
+ | `testID` | no | string | Sets the test ID on the page content container |
1213
+
1214
+ No additional properties.
1215
+
1216
+ ## PageFilterHeader
1217
+
1218
+ Page header with title, badge, and collapsible filter menu
1219
+
1220
+ Catalog key: `PageFilterHeader`
1221
+ Builder: `PageFilterHeader`
1222
+ Props type: `PageFilterHeaderProps`
1223
+ Accepts children: no
1224
+ Events: `filterMenuPress`
1225
+
1226
+ ### Props
1227
+
1228
+ | Name | Required | Type | Description |
1229
+ |---|---:|---|---|
1230
+ | `badge` | no | string | Badge text shown beside the title |
1231
+ | `defaultExpanded` | no | boolean | Default expanded state of the filter menu. Default: false |
1232
+ | `hideFilterMenu` | no | boolean | If true, hides the filter menu icon. Default: false |
1233
+ | `testID` | no | string | Sets testid on FilterHeader (used for testing purposes) |
1234
+ | `title` | yes | string | Title to show on the header |
1235
+ | `transparent` | no | boolean | If true, transparent background will be applied. Default: false |
1236
+
1237
+ No additional properties.
1238
+
1239
+ ## PageFooter
1240
+
1241
+ A page-level footer displaying primary and secondary action buttons. Use with PageHeader and PageContent to construct a page layout.
1242
+
1243
+ PageFooter renders the Page.Footer component from Pebble Mobile. actions array items: { id, title, appearance?, disabled? }. All button presses emit "action".
1244
+
1245
+ Catalog key: `PageFooter`
1246
+ Builder: `PageFooter`
1247
+ Props type: `PageFooterProps`
1248
+ Accepts children: no
1249
+ Events: `action`
1250
+
1251
+ ### Props
1252
+
1253
+ | Name | Required | Type | Description |
1254
+ |---|---:|---|---|
1255
+ | `actions` | no | [PageFooterAction](./types.md#pagefooteraction)[] | Array of page footer action buttons. All button presses emit "action". |
1256
+ | `align` | no | [PageFooterAlign](./definitions.md#pagefooteralign) | Alignment of buttons in the page footer. Default: stretch |
1257
+ | `testID` | no | string | Sets the test ID on PageFooter |
1258
+ | `transparent` | no | boolean | Applies a transparent background to the page footer |
1259
+
1260
+ No additional properties.
1261
+
1262
+ ## PageHeader
1263
+
1264
+ A top-of-page header displaying a title, optional subtitle, and badge. Use with PageContent and PageFooter to construct a page layout.
1265
+
1266
+ PageHeader renders the Page.Header component from Pebble Mobile. Use it only as page-level chrome; use AppBar for push-navigated screens that require back navigation and safe-area handling.
1267
+
1268
+ Catalog key: `PageHeader`
1269
+ Builder: `PageHeader`
1270
+ Props type: `PageHeaderProps`
1271
+ Accepts children: no
1272
+ Events: _none_
1273
+
1274
+ ### Props
1275
+
1276
+ | Name | Required | Type | Description |
1277
+ |---|---:|---|---|
1278
+ | `badge` | no | string | Badge text shown beside the title |
1279
+ | `right` | no | [PageHeaderRight](./types.md#pageheaderright) | A json-render spec rendered on the right side of the page header |
1280
+ | `subtitle` | no | string | Optional subtitle displayed below the page header title |
1281
+ | `testID` | no | string | Sets the test ID on PageHeader |
1282
+ | `title` | yes | string | Title displayed in the page header |
1283
+ | `transparent` | no | boolean | Applies a transparent background to the page header |
1284
+
1285
+ No additional properties.
1286
+
1287
+ ## PageModalActionHeader
1288
+
1289
+ Sub-component of ModalSheet. Header with optional left/right action buttons; use inside ModalSheet
1290
+
1291
+ Catalog key: `PageModalActionHeader`
1292
+ Builder: `PageModalActionHeader`
1293
+ Props type: `PageModalActionHeaderProps`
1294
+ Accepts children: yes
1295
+ Events: `leftPress`, `rightPress`
1296
+
1297
+ ### Props
1298
+
1299
+ | Name | Required | Type | Description |
1300
+ |---|---:|---|---|
1301
+ | `indicator` | no | boolean | Whether to show an indicator on the header. Default: false |
1302
+ | `left` | no | [Left](./types.md#left) | Left action: provide title for text button or iconType for icon button |
1303
+ | `right` | no | [PageModalActionHeaderRight](./types.md#pagemodalactionheaderright) | Right action: provide title for text button or iconType for icon button |
1304
+ | `subtitle` | no | string | Subtitle to show on the header |
1305
+ | `testID` | no | string | Sets testid on ModalActionHeader (used for testing purposes) |
1306
+ | `title` | no | string | Title to show on the header |
1307
+
1308
+ No additional properties.
1309
+
1310
+ ## Password
1311
+
1312
+ Password input with optional reveal toggle
1313
+
1314
+ Password input with optional reveal toggle. `onChange` stores a string in state.
1315
+
1316
+ Catalog key: `Password`
1317
+ Builder: `Password`
1318
+ Props type: `PasswordProps`
1319
+ Accepts children: no
1320
+ Events: `change`, `blur`
1321
+
1322
+ ### Props
1323
+
1324
+ | Name | Required | Type | Description |
1325
+ |---|---:|---|---|
1326
+ | `name` | no | string | Field name identifier for form binding |
1327
+ | `checks` | no | [PasswordCheck](./types.md#passwordcheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
1328
+ | `clearable` | no | boolean | Shows a clear button when the field has a value. Default: false |
1329
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
1330
+ | `disabled` | no | boolean | Disables the input. Default: false |
1331
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
1332
+ | `helperText` | no | string | Help text shown below the input |
1333
+ | `label` | no | string | Label shown above the input |
1334
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
1335
+ | `required` | no | boolean | Marks the field as required. Default: false |
1336
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
1337
+ | `shouldAllowReveal` | no | boolean | Shows a toggle to reveal the password. Default: false |
1338
+ | `testID` | no | string | Sets testid on InputPassword (used for testing purposes) |
1339
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
1340
+ | `value` | no | string | Current password value — bind to state with $bindState |
1341
+
1342
+ No additional properties.
1343
+
1344
+ ## Percentage
1345
+
1346
+ Percentage input
1347
+
1348
+ Percentage input. `onChange` stores a number string in state.
1349
+
1350
+ Catalog key: `Percentage`
1351
+ Builder: `Percentage`
1352
+ Props type: `PercentageProps`
1353
+ Accepts children: no
1354
+ Events: `change`, `blur`
1355
+
1356
+ ### Props
1357
+
1358
+ | Name | Required | Type | Description |
1359
+ |---|---:|---|---|
1360
+ | `name` | no | string | Field name identifier for form binding |
1361
+ | `allowNegative` | no | boolean | If true, allows negative values. Default: false |
1362
+ | `checks` | no | [PercentageCheck](./types.md#percentagecheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
1363
+ | `decimalPlaces` | no | number | Number of decimal places allowed |
1364
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
1365
+ | `disabled` | no | boolean | Disables the input. Default: false |
1366
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
1367
+ | `helperText` | no | string | Help text shown below the input |
1368
+ | `label` | no | string | Label shown above the input |
1369
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
1370
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
1371
+ | `required` | no | boolean | Marks the field as required. Default: false |
1372
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
1373
+ | `testID` | no | string | Sets testid on InputPercentage (used for testing purposes) |
1374
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
1375
+ | `value` | no | string | Current percentage string value — bind to state with $bindState |
1376
+
1377
+ No additional properties.
1378
+
1379
+ ## Phone
1380
+
1381
+ Phone number input with optional country code
1382
+
1383
+ Phone number input with optional country code. `onChange` stores phone string in state.
1384
+
1385
+ Catalog key: `Phone`
1386
+ Builder: `Phone`
1387
+ Props type: `PhoneProps`
1388
+ Accepts children: no
1389
+ Events: `change`, `blur`
1390
+
1391
+ ### Props
1392
+
1393
+ | Name | Required | Type | Description |
1394
+ |---|---:|---|---|
1395
+ | `name` | no | string | Field name identifier for form binding |
1396
+ | `checks` | no | [PhoneCheck](./types.md#phonecheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
1397
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
1398
+ | `disabled` | no | boolean | Disables the input. Default: false |
1399
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
1400
+ | `helperText` | no | string | Help text shown below the input |
1401
+ | `inputWithCountryCode` | no | boolean | If true, country code will be included as part of the value. Default: false |
1402
+ | `label` | no | string | Label shown above the input |
1403
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
1404
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
1405
+ | `region` | no | string | Region/country code e.g. "US" |
1406
+ | `required` | no | boolean | Marks the field as required. Default: false |
1407
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
1408
+ | `testID` | no | string | Sets testid on InputPhone (used for testing purposes) |
1409
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
1410
+ | `value` | no | string | Current phone string value — bind to state with $bindState |
1411
+
1412
+ No additional properties.
1413
+
1414
+ ## Pressable
1415
+
1416
+ Tappable container that wraps any content
1417
+
1418
+ Wrap any content to make it tappable. Wire the `press` event to handle taps.
1419
+
1420
+ Catalog key: `Pressable`
1421
+ Builder: `Pressable`
1422
+ Props type: `PressableProps`
1423
+ Accepts children: yes
1424
+ Events: `press`
1425
+
1426
+ ### Props
1427
+
1428
+ | Name | Required | Type | Description |
1429
+ |---|---:|---|---|
1430
+ | `disabled` | no | boolean | Disables press interaction |
1431
+ | `enableScaleAnimation` | no | boolean | Enables scale-down animation on press. Default: false |
1432
+ | `haptic` | no | [PressableHaptic](./definitions.md#pressablehaptic) | Haptic feedback token to trigger on press (e.g. hapticControlLow, hapticControlHigh) |
1433
+ | `style` | no | [PressableStyle](./types.md#pressablestyle) | Container style overrides — token keys only, e.g. { padding: "space200", backgroundColor: "colorSurface" } |
1434
+ | `testID` | no | string | Sets testid on Pressable (used for testing purposes) |
1435
+ | `underlayAppearance` | no | [ListItemUnderlayAppearance](./definitions.md#listitemunderlayappearance) | Active layer appearance when pressed. Default: base |
1436
+
1437
+ No additional properties.
1438
+
1439
+ ## ProgressIndicator
1440
+
1441
+ Horizontal progress bar showing completion percentage
1442
+
1443
+ `value` is required and must be between 0 and `max` (default 100). Set `steps` > 1 for a segmented bar.
1444
+
1445
+ Catalog key: `ProgressIndicator`
1446
+ Builder: `ProgressIndicator`
1447
+ Props type: `ProgressIndicatorProps`
1448
+ Accepts children: no
1449
+ Events: _none_
1450
+
1451
+ ### Props
1452
+
1453
+ | Name | Required | Type | Description |
1454
+ |---|---:|---|---|
1455
+ | `appearance` | no | [ProgressIndicatorAppearance](./definitions.md#progressindicatorappearance) | ProgressIndicator appearance. Default: primary |
1456
+ | `buffer` | no | number | Buffer value shown as a secondary track. Default: 0 |
1457
+ | `max` | no | number | Maximum value for the progress bar. Default: 100 |
1458
+ | `showLabel` | no | boolean | Show percentage label above the bar. Default: false |
1459
+ | `steps` | no | number | Number of discrete steps (1 = continuous bar). Default: 1 |
1460
+ | `testID` | no | string | Sets testid on ProgressIndicator (used for testing purposes) |
1461
+ | `trackColor` | no | string | Custom color for the progress bar track (design token or hex) |
1462
+ | `value` | yes | number | Number indicating the percentage of progress completion (0–100) |
1463
+
1464
+ No additional properties.
1465
+
1466
+ ## Radio
1467
+
1468
+ Single radio button option with label
1469
+
1470
+ Always prefer RadioGroup. A single Radio is almost never the right primitive — use Checkbox or Switch for a standalone boolean option, and RadioGroup for any set of mutually exclusive options. Never place multiple individual Radio components in a VStack or Card manually.
1471
+
1472
+ Catalog key: `Radio`
1473
+ Builder: `Radio`
1474
+ Props type: `RadioProps`
1475
+ Accepts children: no
1476
+ Events: `change`, `blur`
1477
+
1478
+ ### Props
1479
+
1480
+ | Name | Required | Type | Description |
1481
+ |---|---:|---|---|
1482
+ | `boxView` | no | boolean | Renders radio in box/card view style. Default: false |
1483
+ | `caption` | no | string | Caption/description shown below the label |
1484
+ | `captionNumberOfLines` | no | number | Max lines for the caption text. Default: 1 |
1485
+ | `checks` | no | [RadioCheck](./types.md#radiocheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
1486
+ | `defaultValue` | no | boolean | Initial value for uncontrolled mode. Default: false |
1487
+ | `disabled` | no | boolean | Disables the radio button. Default: false |
1488
+ | `error` | no | boolean \| string | Error state or error message |
1489
+ | `haptic` | no | boolean | Enables haptic feedback on selection. Default: true |
1490
+ | `helperText` | no | string | Help text shown below the radio group |
1491
+ | `label` | no | string | Label text shown beside the radio |
1492
+ | `readOnly` | no | boolean | Makes the radio non-interactive (display only). Default: false |
1493
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. masked in screenshots). Default: false |
1494
+ | `tag` | no | string | Tag text shown above the label |
1495
+ | `testID` | no | string | Sets testid on Radio (used for testing purposes) |
1496
+ | `titleNumberOfLines` | no | number | Max lines for the label text. Default: 1 |
1497
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
1498
+ | `value` | no | boolean | Controlled selected state — bind to state with $bindState |
1499
+
1500
+ No additional properties.
1501
+
1502
+ ## RadioGroup
1503
+
1504
+ Group of radio buttons for single-selection from a list
1505
+
1506
+ Preferred over multiple individual Radio components. Pass all options via the `options` array (each with `id` and `label`). Wrap in a Card for visual grouping. `onChange` stores the selected option id (string) to the bound state path.
1507
+
1508
+ Catalog key: `RadioGroup`
1509
+ Builder: `RadioGroup`
1510
+ Props type: `RadioGroupProps`
1511
+ Accepts children: no
1512
+ Events: `change`
1513
+
1514
+ ### Props
1515
+
1516
+ | Name | Required | Type | Description |
1517
+ |---|---:|---|---|
1518
+ | `defaultValue` | no | string | Initial selected id for uncontrolled mode |
1519
+ | `disabled` | no | boolean | Disables all options. Default: false |
1520
+ | `error` | no | boolean \| string | Error state or error message shown below the group |
1521
+ | `helperText` | no | string | Help text shown below the group |
1522
+ | `options` | yes | [RadioGroupOption](./types.md#radiogroupoption)[] | Array of radio options: [{ id, label?, tag?, disabled? }] |
1523
+ | `testID` | no | string | Sets testid on RadioGroup (used for testing purposes) |
1524
+ | `value` | no | string | Id of the selected option — bind to state with $bindState |
1525
+
1526
+ No additional properties.
1527
+
1528
+ ## Search
1529
+
1530
+ Search input field with clear and cancel controls
1531
+
1532
+ `onChange` stores the query string to the bound state path. `cancel` event fires when the cancel button is pressed.
1533
+
1534
+ Catalog key: `Search`
1535
+ Builder: `Search`
1536
+ Props type: `SearchProps`
1537
+ Accepts children: no
1538
+ Events: `change`, `cancel`
1539
+
1540
+ ### Props
1541
+
1542
+ | Name | Required | Type | Description |
1543
+ |---|---:|---|---|
1544
+ | `clearable` | no | boolean | Shows a clear button when the field has a value. Default: true |
1545
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
1546
+ | `editable` | no | boolean | Controls whether the search input is editable |
1547
+ | `hideCancel` | no | boolean | Hides the cancel button. Default: false |
1548
+ | `placeholder` | no | string | Placeholder text shown when empty |
1549
+ | `stickyCancel` | no | boolean | Always shows the cancel button. Default: false |
1550
+ | `testID` | no | string | Sets testid on Search (used for testing purposes) |
1551
+ | `value` | no | string | Current search query — bind to state with $bindState |
1552
+
1553
+ No additional properties.
1554
+
1555
+ ## SectionHeader
1556
+
1557
+ Section divider label with configurable background
1558
+
1559
+ Catalog key: `SectionHeader`
1560
+ Builder: `SectionHeader`
1561
+ Props type: `SectionHeaderProps`
1562
+ Accepts children: no
1563
+ Events: _none_
1564
+
1565
+ ### Props
1566
+
1567
+ | Name | Required | Type | Description |
1568
+ |---|---:|---|---|
1569
+ | `background` | no | [SectionHeaderBackground](./definitions.md#sectionheaderbackground) | Background token for the section header. Default: surfaceDim |
1570
+ | `foreground` | no | [SectionHeaderForeground](./definitions.md#sectionheaderforeground) | Foreground (text) token for the section header. Default: onSurface |
1571
+ | `label` | yes | string | Text to display in the section header |
1572
+ | `testID` | no | string | Sets testid on SectionHeader (used for testing purposes) |
1573
+
1574
+ No additional properties.
1575
+
1576
+ ## Select
1577
+
1578
+ Dropdown picker input with a searchable action sheet
1579
+
1580
+ `onChange` stores the selected option id to the bound state path. For multi-select set `multiple: true` — state becomes a string[]. `options` must have unique `id` values.
1581
+
1582
+ Catalog key: `Select`
1583
+ Builder: `Select`
1584
+ Props type: `SelectProps`
1585
+ Accepts children: no
1586
+ Events: `change`
1587
+
1588
+ ### Props
1589
+
1590
+ | Name | Required | Type | Description |
1591
+ |---|---:|---|---|
1592
+ | `autoDismiss` | no | boolean | Auto-dismisses the picker sheet after selection. Default: true |
1593
+ | `clearable` | no | boolean | Shows a clear button to deselect. Default: false |
1594
+ | `defaultValue` | no | string | Default selected option id for uncontrolled mode |
1595
+ | `descriptionNumberOfLines` | no | number | Max lines for option description text in the picker. Default: 1 |
1596
+ | `disabled` | no | boolean | Disables the select input. Default: false |
1597
+ | `error` | no | boolean \| string | Error state or error message |
1598
+ | `helperText` | no | string | Help text shown below the select input |
1599
+ | `hideDismissButton` | no | boolean | Hides the dismiss button in the picker sheet header. Default: false |
1600
+ | `label` | yes | string | Label shown above the select input |
1601
+ | `multiple` | no | boolean | Enables multi-selection mode. Default: false |
1602
+ | `options` | yes | [SelectOption](./types.md#selectoption)[] | Array of selectable options: [{ id, title, description?, icon?, disabled? }] |
1603
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
1604
+ | `required` | no | boolean | Marks the field as required. Default: false |
1605
+ | `searchable` | no | boolean | Shows a search field inside the picker sheet |
1606
+ | `searchAutoFocus` | no | boolean | Auto-focuses the search field when the picker opens. Default: false |
1607
+ | `searchPlaceholder` | no | string | Placeholder text for the search field |
1608
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. masked in screenshots). Default: false |
1609
+ | `testID` | no | string | Sets testid on Select (used for testing purposes) |
1610
+ | `titleNumberOfLines` | no | number | Max lines for option title text in the picker. Default: 1 |
1611
+ | `value` | no | string | Id of the selected option — bind to state with $bindState |
1612
+
1613
+ No additional properties.
1614
+
1615
+ ## SelectChips
1616
+
1617
+ Chip-based multi-select or single-select input
1618
+
1619
+ Chip-based selection. options must be [{id, label}]. onChange stores selected id (single) or id[] (multiple) in state.
1620
+
1621
+ Catalog key: `SelectChips`
1622
+ Builder: `SelectChips`
1623
+ Props type: `SelectChipsProps`
1624
+ Accepts children: no
1625
+ Events: `change`
1626
+
1627
+ ### Props
1628
+
1629
+ | Name | Required | Type | Description |
1630
+ |---|---:|---|---|
1631
+ | `defaultValue` | no | string \| string[] | Initial value for uncontrolled mode |
1632
+ | `disabled` | no | boolean | Disables the chips. Default: false |
1633
+ | `error` | no | string \| boolean | Error state or error message |
1634
+ | `helperText` | no | string | Help text shown below the chips |
1635
+ | `multiple` | no | boolean | Allow multiple selection. Default: true |
1636
+ | `options` | yes | [SelectChipsOption](./types.md#selectchipsoption)[] | Array of selectable chip options |
1637
+ | `readOnly` | no | boolean | Displays value without allowing edits. Default: false |
1638
+ | `sensitive` | no | boolean | Masks chip values. Default: false |
1639
+ | `testID` | no | string | Sets testid on SelectChips (used for testing purposes) |
1640
+ | `value` | no | string \| string[] | Selected id or array of ids — bind via $bindState |
1641
+
1642
+ No additional properties.
1643
+
1644
+ ## SettingsForm
1645
+
1646
+ Generic editable settings form with validation, baseline reset, and awaited SDUI submit actions.
1647
+
1648
+ Bind `model` to the complete form state with `$bindState`. Form-aware child fields should bind their values to paths inside the same object.
1649
+ Edit snapshots the bound model. Cancel restores that snapshot without making an API request, emits `cancel`, resets FormEngine, and exits edit mode.
1650
+ Submit runs only after FormEngine validation succeeds. The `submit` action sequence is awaited, so async actions drive the save button loading state. A rejected action preserves the edit session.
1651
+ Submit actions read values from the bound model; no executable callback or event payload crosses the SDUI boundary.
1652
+ `companySelection` lets the SDUI declaration supply stable option values while the client synchronously derives `isDisabledSelected`, `isSpecifiedRolesSelected`, and `isEveryoneSelected` in the bound model.
1653
+ Change `revision` after canonical server data is loaded to reset FormEngine defaults outside the normal submit flow.
1654
+
1655
+ Catalog key: `SettingsForm`
1656
+ Builder: `SettingsForm`
1657
+ Props type: `SettingsFormProps`
1658
+ Accepts children: yes
1659
+ Events: `edit`, `cancel`, `change`, `submit`, `valid`, `invalid`
1660
+
1661
+ ### Props
1662
+
1663
+ | Name | Required | Type | Description |
1664
+ |---|---:|---|---|
1665
+ | `cancelLabel` | yes | string | Localized label for discarding the current edit session. |
1666
+ | `companySelection` | no | [CompanySelection](./types.md#companyselection) | Optional company-email selection values used to derive dependent form state. |
1667
+ | `defaultEdit` | no | boolean | Starts the form in edit mode when true. |
1668
+ | `description` | no | string | Localized supporting text displayed below the title. |
1669
+ | `disabled` | no | boolean | Disables editing and submission. |
1670
+ | `editLabel` | yes | string | Localized label for entering edit mode. |
1671
+ | `keyboardAvoidingEnabled` | no | boolean | Prevents the keyboard from covering form fields. |
1672
+ | `model` | yes | unknown | Current JSON-serializable form model. Bind the complete object with $bindState. |
1673
+ | `padding` | no | boolean | Controls the Pebble Form content padding. |
1674
+ | `revision` | no | string \| number | Remounts FormEngine when the server-confirmed model revision changes. |
1675
+ | `scrollable` | no | boolean | Enables scrolling within the form. |
1676
+ | `submitLabel` | yes | string | Localized label for submitting the form. |
1677
+ | `successMessage` | no | string | Localized snackbar message shown after a successful submit. |
1678
+ | `testID` | no | string | Identifier used by automated tests. |
1679
+ | `title` | no | string | Localized title displayed above the form fields. |
1680
+
1681
+ No additional properties.
1682
+
1683
+ ## Signature
1684
+
1685
+ Signature canvas input
1686
+
1687
+ Signature canvas input. `onChange` stores base64 PNG string in state.
1688
+
1689
+ Catalog key: `Signature`
1690
+ Builder: `Signature`
1691
+ Props type: `SignatureProps`
1692
+ Accepts children: no
1693
+ Events: `change`
1694
+
1695
+ ### Props
1696
+
1697
+ | Name | Required | Type | Description |
1698
+ |---|---:|---|---|
1699
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
1700
+ | `disabled` | no | boolean | Disables the input. Default: false |
1701
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
1702
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
1703
+ | `required` | no | boolean | Marks the field as required. Default: false |
1704
+ | `testID` | no | string | Sets testid on InputSignature (used for testing purposes) |
1705
+ | `value` | no | string | Current base64 PNG value — bind to state with $bindState |
1706
+
1707
+ No additional properties.
1708
+
1709
+ ## Sin
1710
+
1711
+ Masked Social Insurance Number input
1712
+
1713
+ Masked Social Insurance Number input. `onChange` stores the SIN string in state.
1714
+
1715
+ Catalog key: `Sin`
1716
+ Builder: `Sin`
1717
+ Props type: `SinProps`
1718
+ Accepts children: no
1719
+ Events: `change`, `blur`
1720
+
1721
+ ### Props
1722
+
1723
+ | Name | Required | Type | Description |
1724
+ |---|---:|---|---|
1725
+ | `name` | no | string | Field name identifier for form binding |
1726
+ | `checks` | no | [SinCheck](./types.md#sincheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
1727
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
1728
+ | `disabled` | no | boolean | Disables the input. Default: false |
1729
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
1730
+ | `helperText` | no | string | Help text shown below the input |
1731
+ | `label` | no | string | Label shown above the input |
1732
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
1733
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
1734
+ | `required` | no | boolean | Marks the field as required. Default: false |
1735
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
1736
+ | `testID` | no | string | Sets testid on InputSin (used for testing purposes) |
1737
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
1738
+ | `value` | no | string | Current SIN value — bind to state with $bindState |
1739
+
1740
+ No additional properties.
1741
+
1742
+ ## Slider
1743
+
1744
+ Draggable range slider for numeric input
1745
+
1746
+ `onChange` stores the numeric value to the bound state path.
1747
+
1748
+ Catalog key: `Slider`
1749
+ Builder: `Slider`
1750
+ Props type: `SliderProps`
1751
+ Accepts children: no
1752
+ Events: `change`
1753
+
1754
+ ### Props
1755
+
1756
+ | Name | Required | Type | Description |
1757
+ |---|---:|---|---|
1758
+ | `defaultValue` | no | number | Initial value for uncontrolled mode |
1759
+ | `disabled` | no | boolean | Disables the slider. Default: false |
1760
+ | `haptic` | no | boolean | Enables haptic feedback while dragging. Default: true |
1761
+ | `max` | no | number | Maximum slider value. Default: 100 |
1762
+ | `min` | no | number | Minimum slider value. Default: 0 |
1763
+ | `readOnly` | no | boolean | Displays value without allowing edits. Default: false |
1764
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. masked in screenshots). Default: false |
1765
+ | `step` | no | number | Step increment between values. Default: 1 |
1766
+ | `testID` | no | string | Sets testid on Slider (used for testing purposes) |
1767
+ | `value` | no | number | Current slider value — bind to state with $bindState |
1768
+
1769
+ No additional properties.
1770
+
1771
+ ## SliderRange
1772
+
1773
+ Dual-handle range slider for selecting a numeric range
1774
+
1775
+ Dual-handle range slider. onChange stores [number, number] in state.
1776
+
1777
+ Catalog key: `SliderRange`
1778
+ Builder: `SliderRange`
1779
+ Props type: `SliderRangeProps`
1780
+ Accepts children: no
1781
+ Events: `change`
1782
+
1783
+ ### Props
1784
+
1785
+ | Name | Required | Type | Description |
1786
+ |---|---:|---|---|
1787
+ | `defaultValue` | no | unknown[] | Initial range value for uncontrolled mode |
1788
+ | `disabled` | no | boolean | Disables the slider. Default: false |
1789
+ | `haptic` | no | boolean | Enables haptic feedback on value change |
1790
+ | `max` | no | number | Maximum slider value. Default: 100 |
1791
+ | `min` | no | number | Minimum slider value. Default: 0 |
1792
+ | `readOnly` | no | boolean | Displays value without allowing edits. Default: false |
1793
+ | `sensitive` | no | boolean | Masks slider value. Default: false |
1794
+ | `step` | no | number | Step increment between values. Default: 1 |
1795
+ | `testID` | no | string | Sets testid on SliderRange (used for testing purposes) |
1796
+ | `value` | no | unknown[] | Range value [min, max] — bind via $bindState |
1797
+
1798
+ No additional properties.
1799
+
1800
+ ## SnackBar
1801
+
1802
+ Inline notification banner with optional action button and auto-dismiss
1803
+
1804
+ Catalog key: `SnackBar`
1805
+ Builder: `SnackBar`
1806
+ Props type: `SnackBarProps`
1807
+ Accepts children: no
1808
+ Events: `dismiss`, `action`
1809
+
1810
+ ### Props
1811
+
1812
+ | Name | Required | Type | Description |
1813
+ |---|---:|---|---|
1814
+ | `action` | no | [SnackBarAction](./types.md#snackbaraction) | Action button shown on the right. Emits the "action" event when pressed. |
1815
+ | `appearance` | no | [SnackBarAppearance](./definitions.md#snackbarappearance) | SnackBar appearance. Default: info |
1816
+ | `autoDismiss` | no | boolean | If true, SnackBar dismisses automatically after a duration |
1817
+ | `haptic` | no | boolean | Enables haptic feedback on action press |
1818
+ | `hideIcon` | no | boolean | If true, the icon is not shown on the left side |
1819
+ | `message` | yes | string | The message to display in the SnackBar |
1820
+ | `testID` | no | string | Sets testid on SnackBar (used for testing purposes) |
1821
+
1822
+ No additional properties.
1823
+
1824
+ ## Spacer
1825
+
1826
+ Sub-component of ObjectUI. Empty vertical space between ObjectUI rows
1827
+
1828
+ Catalog key: `Spacer`
1829
+ Builder: `Spacer`
1830
+ Props type: `SpacerProps`
1831
+ Accepts children: no
1832
+ Events: _none_
1833
+
1834
+ ### Props
1835
+
1836
+ | Name | Required | Type | Description |
1837
+ |---|---:|---|---|
1838
+ | `size` | no | [SpacerSize](./definitions.md#spacersize) | Vertical spacing size of the spacer. Default: medium |
1839
+
1840
+ No additional properties.
1841
+
1842
+ ## Spinner
1843
+
1844
+ Animated loading indicator
1845
+
1846
+ Catalog key: `Spinner`
1847
+ Builder: `Spinner`
1848
+ Props type: `SpinnerProps`
1849
+ Accepts children: no
1850
+ Events: _none_
1851
+
1852
+ ### Props
1853
+
1854
+ | Name | Required | Type | Description |
1855
+ |---|---:|---|---|
1856
+ | `appearance` | no | [SpinnerAppearance](./definitions.md#spinnerappearance) | Spinner appearance. Default: secondary |
1857
+ | `description` | no | string | Description text shown below the title |
1858
+ | `size` | no | [SpinnerSize](./definitions.md#spinnersize) | Spinner size. Default: large |
1859
+ | `testID` | no | string | Sets testid on Spinner (used for testing purposes) |
1860
+ | `title` | no | string | Title text shown below the spinner |
1861
+ | `windowCentered` | no | boolean | Positions spinner in the center of its parent container using absolute positioning. Default: false |
1862
+
1863
+ No additional properties.
1864
+
1865
+ ## Ssn
1866
+
1867
+ Masked Social Security Number input
1868
+
1869
+ Masked Social Security Number input. `onChange` stores the SSN string in state.
1870
+
1871
+ Catalog key: `Ssn`
1872
+ Builder: `Ssn`
1873
+ Props type: `SsnProps`
1874
+ Accepts children: no
1875
+ Events: `change`, `blur`
1876
+
1877
+ ### Props
1878
+
1879
+ | Name | Required | Type | Description |
1880
+ |---|---:|---|---|
1881
+ | `name` | no | string | Field name identifier for form binding |
1882
+ | `checks` | no | [SsnCheck](./types.md#ssncheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
1883
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
1884
+ | `disabled` | no | boolean | Disables the input. Default: false |
1885
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
1886
+ | `helperText` | no | string | Help text shown below the input |
1887
+ | `label` | no | string | Label shown above the input |
1888
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
1889
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
1890
+ | `required` | no | boolean | Marks the field as required. Default: false |
1891
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
1892
+ | `testID` | no | string | Sets testid on InputSsn (used for testing purposes) |
1893
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
1894
+ | `value` | no | string | Current SSN value — bind to state with $bindState |
1895
+
1896
+ No additional properties.
1897
+
1898
+ ## Status
1899
+
1900
+ Pill-shaped status indicator with colored appearance
1901
+
1902
+ Catalog key: `Status`
1903
+ Builder: `Status`
1904
+ Props type: `StatusProps`
1905
+ Accepts children: no
1906
+ Events: _none_
1907
+
1908
+ ### Props
1909
+
1910
+ | Name | Required | Type | Description |
1911
+ |---|---:|---|---|
1912
+ | `appearance` | no | [StatusAppearance](./definitions.md#statusappearance) | Status appearance. Default: primary |
1913
+ | `label` | yes | string | Text content shown inside the Status pill |
1914
+ | `outlined` | no | boolean | Applies outlined/border style on the component. Default: false |
1915
+ | `testID` | no | string | Sets testid on Status (used for testing purposes) |
1916
+
1917
+ No additional properties.
1918
+
1919
+ ## StatusBar
1920
+
1921
+ Sets the native status bar style. Renders no visible UI — place once near the top of a screen.
1922
+
1923
+ Catalog key: `StatusBar`
1924
+ Builder: `StatusBar`
1925
+ Props type: `StatusBarProps`
1926
+ Accepts children: no
1927
+ Events: _none_
1928
+
1929
+ ### Props
1930
+
1931
+ | Name | Required | Type | Description |
1932
+ |---|---:|---|---|
1933
+ | `animated` | no | boolean | Whether to animate status bar style changes. Default: true |
1934
+ | `appearance` | no | [StatusBarAppearance](./definitions.md#statusbarappearance) | Controls barStyle. onSurface → matches surface background; onSurfaceInverse → inverse. Default: onSurface |
1935
+
1936
+ No additional properties.
1937
+
1938
+ ## SuperGrid
1939
+
1940
+ Loads a registered SuperGrid backend and renders its rows as a native mobile Grid.
1941
+
1942
+ Provide only the backend gridId for the standard case. SuperGrid owns config loading, data loading, search, refresh, retry, and cursor pagination.
1943
+ Bind selectedRow with $bindState to publish the pressed Grid row before the rowPress action executes. Action params can then read row fields with $state.
1944
+
1945
+ Catalog key: `SuperGrid`
1946
+ Builder: `SuperGrid`
1947
+ Props type: `SuperGridProps`
1948
+ Accepts children: no
1949
+ Events: `rowPress`
1950
+
1951
+ ### Props
1952
+
1953
+ | Name | Required | Type | Description |
1954
+ |---|---:|---|---|
1955
+ | `configContext` | no | [ConfigContext](./types.md#configcontext) | Optional string context supplied when loading grid config. |
1956
+ | `contextFilters` | no | [ContextFilter](./types.md#contextfilter)[] | Filters supplied by the embedding SDUI page. |
1957
+ | `emptyMessage` | no | string | Message displayed when the backend returns no rows. |
1958
+ | `errorMessage` | no | string | Message displayed when grid loading fails. |
1959
+ | `gridId` | yes | string | Identifier of the registered SuperGrid backend. |
1960
+ | `loadingMessage` | no | string | Message displayed while the grid is loading. |
1961
+ | `outlined` | no | boolean | Adds an outline around the underlying Pebble list. |
1962
+ | `pageSize` | no | number | Optional number of rows requested per page. |
1963
+ | `retryLabel` | no | string | Label for the retry action. |
1964
+ | `selectedRow` | no | unknown | Most recently pressed Grid row. Bind with $bindState so rowPress actions can read row fields from SDUI state. |
1965
+ | `testID` | no | string | Identifier used by automated tests. |
1966
+
1967
+ No additional properties.
1968
+
1969
+ ## Switch
1970
+
1971
+ Toggle switch for boolean on/off input
1972
+
1973
+ `onChange` stores the boolean value to the bound state path. `change` event fires after each toggle.
1974
+
1975
+ Catalog key: `Switch`
1976
+ Builder: `Switch`
1977
+ Props type: `SwitchProps`
1978
+ Accepts children: no
1979
+ Events: `change`
1980
+
1981
+ ### Props
1982
+
1983
+ | Name | Required | Type | Description |
1984
+ |---|---:|---|---|
1985
+ | `defaultValue` | no | boolean | Initial value for uncontrolled mode. Default: false |
1986
+ | `disabled` | no | boolean | Disables the switch. Default: false |
1987
+ | `haptic` | no | boolean | Enables haptic feedback on toggle. Default: true |
1988
+ | `offIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name for the off-state thumb icon |
1989
+ | `onIcon` | no | [AvatarSource](./definitions.md#avatarsource) | Pebble icon name for the on-state thumb icon |
1990
+ | `testID` | no | string | Sets testid on Switch (used for testing purposes) |
1991
+ | `value` | no | boolean | Controlled on/off state — bind to state with $bindState |
1992
+
1993
+ No additional properties.
1994
+
1995
+ ## Tabs
1996
+
1997
+ Tab navigation switcher for toggling between views
1998
+
1999
+ `onChange` stores the selected tab `id` string to the bound state path. Tab content is rendered externally — use conditional rendering in sibling elements based on the active state. `items` must have unique `id` values.
2000
+
2001
+ Catalog key: `Tabs`
2002
+ Builder: `Tabs`
2003
+ Props type: `TabsProps`
2004
+ Accepts children: no
2005
+ Events: `change`
2006
+
2007
+ ### Props
2008
+
2009
+ | Name | Required | Type | Description |
2010
+ |---|---:|---|---|
2011
+ | `active` | no | string | Id of the currently active tab — bind to state with $bindState |
2012
+ | `defaultActive` | no | string | Id of the tab to show by default |
2013
+ | `fluid` | no | boolean | Stretches tabs to fill available width. Default: false |
2014
+ | `items` | yes | [Item](./types.md#item)[] | Array of tab definitions: [{ id, title, icon?, badge? }] |
2015
+ | `spacing` | no | [TabsSpacing](./definitions.md#tabsspacing) | Spacing around the tabs container. Default: none |
2016
+ | `testID` | no | string | Sets testid on Tabs (used for testing purposes) |
2017
+ | `translucent` | no | boolean | Gives tabs a translucent background. Default: true |
2018
+ | `variant` | no | [TabsVariant](./definitions.md#tabsvariant) | Visual style of the tabs. Default: switch |
2019
+
2020
+ No additional properties.
2021
+
2022
+ ## Text
2023
+
2024
+ Typography primitive using Pebble typestyle tokens
2025
+
2026
+ Renders text with Pebble typestyle tokens. Pass typestyle and color as top-level props, or supply typography via the style prop as a plain object or array of typestyle token keys and/or style overrides — later style entries win and override matching top-level typestyle or color values. Style values may be token keys (e.g. colorOnSurface, space200) or literals. ellipsizeMode only takes effect when numberOfLines is set. In style objects, textShadowOffsetWidth and textShadowOffsetHeight combine into textShadowOffset: {width, height}.
2027
+
2028
+ Catalog key: `Text`
2029
+ Builder: `Text`
2030
+ Props type: `TextProps`
2031
+ Accepts children: no
2032
+ Events: _none_
2033
+
2034
+ ### Props
2035
+
2036
+ | Name | Required | Type | Description |
2037
+ |---|---:|---|---|
2038
+ | `accessibilityLabel` | no | string | Accessibility label read by screen readers |
2039
+ | `accessible` | no | boolean | Whether the element is an accessibility element. Default: true |
2040
+ | `color` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Pebble color token key for text color. Overridden by color in the style prop. |
2041
+ | `disabled` | no | boolean | Whether the text is disabled (accessibility and styling). Default: false |
2042
+ | `ellipsizeMode` | no | [TextEllipsizeMode](./definitions.md#textellipsizemode) | How text is truncated when it exceeds numberOfLines. Requires numberOfLines to be set. Default: tail |
2043
+ | `numberOfLines` | no | number | Maximum number of lines before truncating with ellipsis. Omit for unlimited lines |
2044
+ | `selectable` | no | boolean | Whether the user can select and copy the text. Default: false |
2045
+ | `style` | no | [TextStyle](./types.md#textstyle) \| [TextStyle](./definitions.md#textstyle) \| [TextStyle](./types.md#textstyle)[] | Text style — plain object or array of typestyle token keys and/or style override objects. Plain object: { color: 'colorOnSurface', marginTop: 'space200' }. Array: ['typestyleV2BodyLarge', { color: 'colorOnSurface' }]. |
2046
+ | `testID` | no | string | Sets testid on Text (used for testing purposes) |
2047
+ | `text` | yes | string | Text content to display |
2048
+ | `typestyle` | no | [TextStyle](./definitions.md#textstyle) | Pebble typestyle token key. Overridden by matching typography in the style prop. |
2049
+
2050
+ No additional properties.
2051
+
2052
+ ## Textarea
2053
+
2054
+ Multi-line text input field
2055
+
2056
+ `onChange` stores the string value to the bound state path. Use `checks` + `validateOn` for inline validation.
2057
+
2058
+ Catalog key: `Textarea`
2059
+ Builder: `Textarea`
2060
+ Props type: `TextareaProps`
2061
+ Accepts children: no
2062
+ Events: `change`, `blur`
2063
+
2064
+ ### Props
2065
+
2066
+ | Name | Required | Type | Description |
2067
+ |---|---:|---|---|
2068
+ | `name` | no | string | Field name identifier for form binding |
2069
+ | `checks` | no | [TextareaCheck](./types.md#textareacheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
2070
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
2071
+ | `disabled` | no | boolean | Disables the textarea. Default: false |
2072
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
2073
+ | `height` | no | number | Fixed height of the textarea in points |
2074
+ | `helperText` | no | string | Help text shown below the textarea |
2075
+ | `label` | no | string | Label shown above the textarea |
2076
+ | `maxLength` | no | number | Maximum number of characters allowed |
2077
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
2078
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
2079
+ | `testID` | no | string | Sets testid on Textarea (used for testing purposes) |
2080
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
2081
+ | `value` | no | string | Current text value — bind to state with $bindState |
2082
+
2083
+ No additional properties.
2084
+
2085
+ ## Time
2086
+
2087
+ Time picker input field
2088
+
2089
+ Time picker input. onChange stores ISO time string in state.
2090
+
2091
+ Catalog key: `Time`
2092
+ Builder: `Time`
2093
+ Props type: `TimeProps`
2094
+ Accepts children: no
2095
+ Events: `change`, `blur`
2096
+
2097
+ ### Props
2098
+
2099
+ | Name | Required | Type | Description |
2100
+ |---|---:|---|---|
2101
+ | `defaultValue` | no | string | Default ISO time string for uncontrolled mode |
2102
+ | `disabled` | no | boolean | Disables the time input. Default: false |
2103
+ | `error` | no | string \| boolean | Error state or error message |
2104
+ | `format` | no | [TimeFormat](./definitions.md#timeformat) | Time format. Default: isoString |
2105
+ | `helperText` | no | string | Help text shown below the time input |
2106
+ | `label` | yes | string | Label shown above the time input |
2107
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
2108
+ | `sensitive` | no | boolean | Masks time value. Default: false |
2109
+ | `testID` | no | string | Sets testid on Time (used for testing purposes) |
2110
+ | `value` | no | string | ISO time string — bind to state with $bindState |
2111
+
2112
+ No additional properties.
2113
+
2114
+ ## TimeRange
2115
+
2116
+ Time range picker with start and end time inputs
2117
+
2118
+ Time range picker. label must be [startLabel, endLabel]. onChange stores [startISO, endISO] in state.
2119
+
2120
+ Catalog key: `TimeRange`
2121
+ Builder: `TimeRange`
2122
+ Props type: `TimeRangeProps`
2123
+ Accepts children: no
2124
+ Events: `change`
2125
+
2126
+ ### Props
2127
+
2128
+ | Name | Required | Type | Description |
2129
+ |---|---:|---|---|
2130
+ | `alignment` | no | [DateRangeAlignment](./definitions.md#daterangealignment) | Layout alignment of the two time fields. Default: row |
2131
+ | `defaultValue` | no | unknown[] | Default ISO time strings [start, end] |
2132
+ | `disabled` | no | boolean | Disables both time inputs. Default: false |
2133
+ | `error` | no | string | Error message shown below the inputs |
2134
+ | `helperText` | no | string | Help text shown below the time range inputs |
2135
+ | `label` | yes | unknown[] | Labels for [start, end] time |
2136
+ | `readOnly` | no | boolean | Shows values without allowing edits. Default: false |
2137
+ | `required` | no | boolean | Marks the fields as required. Default: false |
2138
+ | `sensitive` | no | boolean | Masks time values. Default: false |
2139
+ | `testID` | no | string | Sets testid on TimeRange (used for testing purposes) |
2140
+ | `value` | no | unknown[] | ISO time strings [start, end] — bind via $bindState |
2141
+
2142
+ No additional properties.
2143
+
2144
+ ## Tip
2145
+
2146
+ Informational tip block with a title, description, and optional children content
2147
+
2148
+ Catalog key: `Tip`
2149
+ Builder: `Tip`
2150
+ Props type: `TipProps`
2151
+ Accepts children: yes
2152
+ Events: _none_
2153
+
2154
+ ### Props
2155
+
2156
+ | Name | Required | Type | Description |
2157
+ |---|---:|---|---|
2158
+ | `description` | yes | string | Description text shown on the Tip modal |
2159
+ | `testID` | no | string | Sets testid on Tip (used for testing purposes) |
2160
+ | `title` | no | string | Title shown on the Tip modal |
2161
+
2162
+ No additional properties.
2163
+
2164
+ ## VStack
2165
+
2166
+ Vertical flex column container
2167
+
2168
+ Lays children out vertically. By default, VStack wraps its content (shrinks to fit children). Use `width: "sizeFull"` to stretch and fill the available width. Use `gap` for spacing between items.
2169
+
2170
+ Catalog key: `VStack`
2171
+ Builder: `VStack`
2172
+ Props type: `VStackProps`
2173
+ Accepts children: yes
2174
+ Events: _none_
2175
+
2176
+ ### Props
2177
+
2178
+ | Name | Required | Type | Description |
2179
+ |---|---:|---|---|
2180
+ | `align` | no | [HStackAlign](./definitions.md#hstackalign) | Align children along the cross axis. Default: stretch |
2181
+ | `alignSelf` | no | [HStackAlignSelf](./definitions.md#hstackalignself) | Override parent alignItems for this element. Default: auto |
2182
+ | `backgroundColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Background color token (e.g. colorSurface, colorPrimaryContainer) |
2183
+ | `borderColor` | no | [HStackBackgroundColor](./definitions.md#hstackbackgroundcolor) | Border color token on all sides (e.g. colorBorder) |
2184
+ | `borderWidth` | no | [HStackBorderWidth](./definitions.md#hstackborderwidth) | Border width on all sides — shape border width token (e.g. shapeBorderWidthSm, shapeBorderWidthMd) |
2185
+ | `bottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom offset — space token |
2186
+ | `flex` | no | number | Flex grow/shrink factor |
2187
+ | `gap` | no | [HStackBottom](./definitions.md#hstackbottom) | Gap between children — space token |
2188
+ | `grow` | no | number | Flex grow factor |
2189
+ | `height` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Height — size token or percentage (e.g. "50%") |
2190
+ | `justify` | no | [HStackJustify](./definitions.md#hstackjustify) | Align children along the main axis. Default: flex-start |
2191
+ | `left` | no | [HStackBottom](./definitions.md#hstackbottom) | Left offset — space token |
2192
+ | `margin` | no | [HStackBottom](./definitions.md#hstackbottom) | Margin on all sides — space token (e.g. space100, space200, space400) |
2193
+ | `marginBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom margin — space token |
2194
+ | `marginHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right margin — space token |
2195
+ | `marginLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left margin — space token |
2196
+ | `marginRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right margin — space token |
2197
+ | `marginTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top margin — space token |
2198
+ | `marginVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom margin — space token |
2199
+ | `maxHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum height — size token or percentage |
2200
+ | `maxWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Maximum width — size token or percentage |
2201
+ | `minHeight` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum height — size token or percentage |
2202
+ | `minWidth` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Minimum width — size token or percentage |
2203
+ | `overflow` | no | [HStackOverflow](./definitions.md#hstackoverflow) | How content overflow is handled. Default: visible |
2204
+ | `padding` | no | [HStackBottom](./definitions.md#hstackbottom) | Padding on all sides — space token (e.g. space100, space200, space400) |
2205
+ | `paddingBottom` | no | [HStackBottom](./definitions.md#hstackbottom) | Bottom padding — space token |
2206
+ | `paddingHorizontal` | no | [HStackBottom](./definitions.md#hstackbottom) | Left and right padding — space token |
2207
+ | `paddingLeft` | no | [HStackBottom](./definitions.md#hstackbottom) | Left padding — space token |
2208
+ | `paddingRight` | no | [HStackBottom](./definitions.md#hstackbottom) | Right padding — space token |
2209
+ | `paddingTop` | no | [HStackBottom](./definitions.md#hstackbottom) | Top padding — space token |
2210
+ | `paddingVertical` | no | [HStackBottom](./definitions.md#hstackbottom) | Top and bottom padding — space token |
2211
+ | `position` | no | [HStackPosition](./definitions.md#hstackposition) | Positioning type. Default: relative |
2212
+ | `radius` | no | [HStackRadius](./definitions.md#hstackradius) | Border radius on all corners — shape corner token (e.g. shapeCornerSm, shapeCornerMd, shapeCornerLg) |
2213
+ | `reverse` | no | boolean | Reverses the column direction. Default: false |
2214
+ | `right` | no | [HStackBottom](./definitions.md#hstackbottom) | Right offset — space token |
2215
+ | `scrollView` | no | boolean | If true, wraps children in a vertical ScrollView instead of a View |
2216
+ | `shrink` | no | number | Flex shrink factor |
2217
+ | `testID` | no | string | Sets testid on VStack (used for testing purposes) |
2218
+ | `top` | no | [HStackBottom](./definitions.md#hstackbottom) | Top offset — space token |
2219
+ | `width` | no | [HStackHeight](./definitions.md#hstackheight) \| string | Width — size token (e.g. size400, size800) or percentage (e.g. "100%") |
2220
+ | `zIndex` | no | number | Stack order |
2221
+
2222
+ No additional properties.
2223
+
2224
+ ## Widget
2225
+
2226
+ Card-like widget with a title, body content, and optional action buttons
2227
+
2228
+ Pass children for body content. Use isLoading to show shimmer placeholders. Wire the `press` event when the entire widget card should be tappable.
2229
+
2230
+ Catalog key: `Widget`
2231
+ Builder: `Widget`
2232
+ Props type: `WidgetProps`
2233
+ Accepts children: yes
2234
+ Events: `press`, `titlePress`, `primaryAction`, `secondaryAction`
2235
+
2236
+ ### Props
2237
+
2238
+ | Name | Required | Type | Description |
2239
+ |---|---:|---|---|
2240
+ | `actions` | no | [WidgetAction](./types.md#widgetaction) | Action buttons. primary emits "primaryAction", secondary emits "secondaryAction". |
2241
+ | `contentShimmerTemplate` | no | [WidgetContentShimmerTemplate](./definitions.md#widgetcontentshimmertemplate) | Content shimmer layout template. Default: details |
2242
+ | `disabled` | no | boolean | Disables the widget. Default: false |
2243
+ | `isActionsLoading` | no | boolean | Shows shimmer in the actions area only |
2244
+ | `isContentLoading` | no | boolean | Shows shimmer in the content area only |
2245
+ | `isLoading` | no | boolean | Shows shimmer placeholders across the entire widget |
2246
+ | `isTitleLoading` | no | boolean | Shows shimmer in the title area only |
2247
+ | `meta` | no | [Meta](./types.md#meta) | A json-render spec to render as meta content beside the widget title |
2248
+ | `spacing` | no | [WidgetSpacing](./definitions.md#widgetspacing) | Horizontal spacing for content. Default: none |
2249
+ | `testID` | no | string | Sets testid on Widget (used for testing purposes) |
2250
+ | `title` | yes | string | Title displayed in the widget header |
2251
+
2252
+ No additional properties.
2253
+
2254
+ ## WithSpinner
2255
+
2256
+ Wrapper that shows a Spinner while loading and emits load once on mount.
2257
+
2258
+ Bind `isLoading` to SDUI state and update that state from actions attached to the `load` event.
2259
+ `load` fires exactly once per mount and does not fire again when `isLoading` changes.
2260
+ This matches the web SDUI WithSpinner contract; request lifecycle state remains backend-declared.
2261
+
2262
+ Catalog key: `WithSpinner`
2263
+ Builder: `WithSpinner`
2264
+ Props type: `WithSpinnerProps`
2265
+ Accepts children: yes
2266
+ Events: `load`
2267
+
2268
+ ### Props
2269
+
2270
+ | Name | Required | Type | Description |
2271
+ |---|---:|---|---|
2272
+ | `appearance` | no | [SpinnerAppearance](./definitions.md#spinnerappearance) | |
2273
+ | `description` | no | string | Localized loading description. |
2274
+ | `isLoading` | yes | boolean | Shows the spinner instead of children when true. |
2275
+ | `size` | no | [SpinnerSize](./definitions.md#spinnersize) | |
2276
+ | `testID` | no | string | Identifier used by automated tests. |
2277
+ | `title` | no | string | Localized title displayed with the loading spinner. |
2278
+ | `windowCentered` | no | boolean | Centers the loading spinner in its parent. |
2279
+
2280
+ No additional properties.
2281
+
2282
+ ## WorkEmail
2283
+
2284
+ Email text input that validates work email format
2285
+
2286
+ Email text input that validates work email format. `onChange` stores a string in state.
2287
+
2288
+ Catalog key: `WorkEmail`
2289
+ Builder: `WorkEmail`
2290
+ Props type: `WorkEmailProps`
2291
+ Accepts children: no
2292
+ Events: `change`, `blur`
2293
+
2294
+ ### Props
2295
+
2296
+ | Name | Required | Type | Description |
2297
+ |---|---:|---|---|
2298
+ | `name` | no | string | Field name identifier for form binding |
2299
+ | `checks` | no | [WorkEmailCheck](./types.md#workemailcheck)[] | Array of {type, message, args?} validation rule objects. Requires validateOn to be set |
2300
+ | `clearable` | no | boolean | Shows a clear button when the field has a value. Default: false |
2301
+ | `defaultValue` | no | string | Initial value for uncontrolled mode |
2302
+ | `disabled` | no | boolean | Disables the input. Default: false |
2303
+ | `error` | no | boolean \| string | Error state — true for generic error highlight, string for error message |
2304
+ | `helperText` | no | string | Help text shown below the input |
2305
+ | `label` | no | string | Label shown above the input |
2306
+ | `placeholder` | no | string | Placeholder text shown when the field is empty |
2307
+ | `readOnly` | no | boolean | Shows value without allowing edits. Default: false |
2308
+ | `required` | no | boolean | Marks the field as required. Default: false |
2309
+ | `sensitive` | no | boolean | Marks the field as sensitive (e.g. for screenshot masking) |
2310
+ | `testID` | no | string | Sets testid on InputWorkEmail (used for testing purposes) |
2311
+ | `validateOn` | no | [CheckboxValidateOn](./definitions.md#checkboxvalidateon) | When to run validation checks. Requires checks to be set |
2312
+ | `value` | no | string | Current email value — bind to state with $bindState |
2313
+
2314
+ No additional properties.