NC screen components
Available in both Native Rent and Native Planner. See the Native Planner components guide or the Native Rent user guide.
Native Components (NC) are eleven Lightning components for Flow Builder screens. Use them to present choices, answer a grid of questions, search for a record, pick dates or a time slot, show progress, capture photos, scan with a phone, show a QR code, or move the flow on after a delay. Each component has its own page.
Overview
| Component | Native Rent API name | Use it for |
|---|---|---|
| NC choices | ||
| NC Buttons & Tiles | nativerent:ncButtons | Visual choices: tiles, cards, list rows, buttons, chips, avatars, swatches, small buttons, or a dropdown. |
| NC Picklist | nativerent:ncPicklist | Form-style choice fields: a dropdown, a radio or checkbox list, buttons, chips, a segmented bar, or a rating. |
| NC Choice Grid | nativerent:ncChoiceGrid | A matrix of questions: one answer or several per row. |
| NC records | ||
| NC Lookup | nativerent:ncLookup | Type-ahead search for one record or several. |
| NC dates and times | ||
| NC Date Range | nativerent:ncDateRange | Picking a start and end date, with booked and blocked dates and night limits. |
| NC Date Time Slots | nativerent:ncDateTimeSlots | Picking a day and a time slot, with blocked times. |
| NC capture and codes | ||
| NC Photo and Signature | nativerent:ncPhotoSignature | Taking photos, a signature, or both, saved as Files on a record. |
| NC Device Capture | nativerent:ncDeviceCapture | Scanning a barcode or QR code, reading location, scanning a document, reading an NFC tag, or a biometric check, in the Salesforce mobile app. |
| NC QR Code | nativerent:ncQrCode | Showing a QR code or a Code 128 barcode for a text. |
| NC progress and timing | ||
| NC Stepper | nativerent:ncStepper | Showing progress in a multi-screen flow. |
| NC Timer | nativerent:ncTimer | Moving the flow on automatically after a delay. A hidden mode can run the timer with nothing visible on the screen. |
In Flow Builder, find each component by the name in the Component column. It is in the Screen element's component list under Custom.
All eleven components:
- Work on Flow screens only, not on record pages.
- Have their own setup panel in Flow Builder. The panel shows only the settings that apply to the layout or mode you pick. New on and off options are checkboxes. The setup panel text is in English only.
- Adapt to phones and desktop. With Layout set to
auto(all except NC QR Code, which has no Layout setting), the component picks a layout from the device and from the width it actually has on the screen. - Use touch targets of at least 44 px on phones, on touch screens, and when the component is 600 px wide or less.
- Follow the org theme and dark mode unless you set colors. NC QR Code always draws the code black on white. Colors you set are checked for contrast.
- Show built-in texts in the running user's language. See Translations.
- Record searches use the Salesforce UI API, which enforces the running user's sharing, object access, and field permissions.
Which component to use
| You want | Use |
|---|---|
| A few options shown as large, tappable choices, with icons or images | NC Buttons & Tiles |
| A pick from a known set of people, with a photo or initials | NC Buttons & Tiles, Layout avatar |
| A small set of variants such as size, color, or finish | NC Buttons & Tiles, Layout swatch |
| A normal form field that looks like the other fields on the screen | NC Picklist |
| Two to five options on one pill bar | NC Picklist, Layout segmented |
| A star rating or a 1 to N score | NC Picklist, Layout rating |
| One record, or several, from many, found by typing | NC Lookup |
| A progress indicator across wizard screens | NC Stepper |
| A date window with booked dates blocked | NC Date Range |
| Handover photos or a signed confirmation on a record | NC Photo and Signature |
| A barcode scan matched to a record, or a location check | NC Device Capture |
| A confirmation screen that continues by itself, or a timed "thank you" screen | NC Timer |
| An action that runs after a delay, with nothing visible on the screen | NC Timer, with Layout hidden, or with the Silent timer style |
| A condition or inspection checklist, one answer per item | NC Choice Grid |
| A pickup or appointment time on a day, with booked times blocked | NC Date Time Slots |
| A QR code or barcode on a label | NC QR Code |
What's new in this version
- NC Buttons & Tiles: new Avatars and Swatches layouts. Avatars have a size, a shape, and an optional overlapping stack with a +N bubble. The Chips layout gives a wrapping pill row for short multi-select.
- NC Picklist: new Segmented and Rating layouts, plus Chips and Small buttons.
- Choice components: Disable When Badge Is 0, Sort Groups A to Z, and Next is blocked when a multi-select has more picks than the maximum.
- NC Lookup: Show Recently Used (on by default), Show Create New (off by default), and Minimum Selections. A click or tap opens the first records.
- New components: NC Choice Grid, NC Date Range, NC Date Time Slots, NC Stepper, NC Photo and Signature, NC Device Capture, and NC QR Code.
- All components: a custom setup panel in Flow Builder.
- NC Date Time Slots: a week of days and time slots from Start Time, End Time, and Slot Length. Blocked times from a list, a Text collection, or a record collection. One slot by default, several optional.
- NC Choice Grid: rows by columns, one answer or several per row. A table on desktop, and a card per row on a phone.
- NC QR Code: a QR code or a Code 128 barcode, drawn in the browser, with an optional caption and a PNG download on desktop.
- All components: Copy settings in the setup panel. Export a component's settings to a file or the clipboard, and import them on another screen. See Copy settings.
Shared behavior
Layout and width
- Layout defaults to
autoon every component. Auto uses the device type and the component's own width. A narrow column on desktop acts like a phone. - NC Buttons & Tiles Auto uses the phone rules on a phone or when the browser window is under 600 px wide. A narrow column in a wide window keeps the desktop rules.
- NC Picklist treats the component as narrow on a phone or when the component is under 480 px wide.
- NC Timer Auto uses the bar on wide screens, and compact on phones and in narrow columns.
- NC Lookup, NC Stepper, NC Date Range, NC Photo and Signature, NC Date Time Slots, and NC Choice Grid treat it as narrow on a phone or under 600 px wide. Layout Grid on NC Date Time Slots also becomes two columns under 600 px. NC QR Code has no Layout setting.
- Touch targets are at least 44 px when the component is 600 px wide or less, on a phone, or on a touch screen. Compact density uses 40 px only on a wide component with a mouse.
- On touch screens and narrow widths, dropdowns become a native select with 16 px text. This avoids the phone zooming in on the field.
Required messages
When a check fails, the message shows on the component itself. Flow blocks Next without drawing a second, duplicate message.
- Required blocks Next until the component has a valid value: a choice, a record, a full date range, a saved signature or the required photos, a capture, a current step, a time slot, every row on a choice grid, or a code that can be shown.
- For multi-select on NC Buttons & Tiles, NC Picklist, and NC Lookup, the user cannot add more than the maximum. If the incoming Value already has more, Next is blocked until the user removes enough. The messages read "Select at least N" and "Select at most N".
Colors and formatting
- Accent Color, Background Color, Tile Color (choice components only), and Text Color are optional. Use hex,
rgb(),hsl(), or a color name. Anything else is ignored. Blank follows the org theme, including dark mode. - Text is checked for 4.5:1 contrast against the surface behind it, and replaced with dark or white text if it fails. Accent colors are adjusted to 3:1, so your hue stays recognizable.
- In dark mode, light tile and background colors change to a dark mix of the same hue.
- Color Map sets one color per value, for example
Gold:#FFF4CC/#5C4400; Silver:#EEEEEE(value:background, then an optional /text). Separate entries with;or new lines. The Mobile Data Table format also works. An exact match is tried first, then a match that ignores case. - Color Map Style on NC Buttons & Tiles and NC Picklist:
stripe(default),tint,fill, ordot. NC Lookup supports stripe, tint, or dot, but not fill. - NC Timer, NC Stepper, NC Date Range, NC Photo and Signature, and NC Device Capture have no Color Map. NC Lookup and NC Timer have no Tile Color.
- NC Date Time Slots and NC Choice Grid have Accent Color, Background Color, and Text Color, and no Color Map or Tile Color. NC QR Code has no accent or background color settings. The code itself is always black on white.
Navigation and the screen footer
- Navigate After Selection (default
none) can benone,next,back,finish, orpause. After a pick or a capture, the flow moves on, so you can hide the screen's footer buttons. Next and Finish still check Required first. Next becomes Finish on the last screen. - NC Timer uses After the Timer instead, and it defaults to
next. - On NC Date Time Slots, Navigate After Selection runs after a slot is picked, single selection only. On NC Choice Grid it runs when the last open row is answered, single selection only. NC QR Code has no Navigate After Selection.
- NC Buttons & Tiles, NC Picklist, and NC Lookup can show a Continue button. Use it with multi-select, or when you want a visible Next inside the component.
- Map a value in and out of the same flow variable if the user can leave the screen and come back. This applies to Value, Start Date and End Date, File Ids, capture outputs, and the Timer's Completed.
Data sources and Get Records
- NC Buttons & Tiles and NC Picklist sources:
auto,text,collection,records,picklist, orquery. - NC Lookup sources:
auto,search, orrecords. Auto uses records when Records is set, otherwise search. - Get Records must store every field the component uses, such as the badge, group, color, booked start and end, blocked slot start and end, or match field. For NC Date Time Slots, that is StartDateTime and EndDateTime unless you set other field names. "Automatically store all fields" only loads fields the flow itself references, so it is not enough.
- Record searches and queries send filter values as variables, never as query text.
Translations
Built-in texts follow the running user's language. Translations are built into the components, so you do not need Translation Workbench. Text you enter in Flow Builder, such as labels, help, and messages, always shows as you entered it.
Languages besides US English: English (UK), German, Swedish, French, Spanish, Dutch, Portuguese (Brazil), Japanese, Hebrew, Slovak, Czech, Finnish, Hungarian, Greek, and Korean.
- Hebrew shows right to left.
- English (UK) uses the US English texts.
- Italian and other languages not listed use English.
- Some texts added in this version are not translated yet and show in English. This includes the built-in texts of NC Date Time Slots, NC Choice Grid, and NC QR Code.
Accessibility
- The selected state never relies on color alone. It also uses a ring, a check mark, or a filled control.
- Windows High Contrast and reduced motion are supported.
- Single-select choices act as a radio group. Multi-select choices act as checkboxes.
- Avatars use the choice label as the accessible name.
- NC Timer announcements are polite, including in the hidden layout when Announce is on.
- NC Date Time Slots day and slot buttons have full names and show their pressed state. NC Choice Grid rows are a radio group or a group. NC QR Code names the image "QR code: " or "Barcode: " plus the value.
Setup panel
- The panel groups the common settings in Basic. Advanced sections hold the rest.
- Settings for one layout or mode show only when they apply. For example, Avatar Size shows only for Avatars, Rating Style only for Rating, and Device Capture settings only for the selected mode.
- Almost every setting can use a flow resource. Turn on "Use a flow resource" for that setting.
{!$GlobalConstant.EmptyString}as a Default Value is the same as leaving the default blank.
Copy settings
Copy settings copies a component's setup from one screen to another. It is a folded row at the top of every component's setup panel. It starts closed. Click it, or press Enter or Space on it, to open it. It also opens by itself when an import preview or an error shows. The rest of the panel does not change.
Copy a setup to another screen
- On the first screen, open Copy settings and click Export settings. The file is named after the component and your local date, for example
nc-timer-settings-2026-11-26.json. Or click Copy to clipboard to copy the same JSON. - On the other screen, open Copy settings on the same type of component.
- Choose the file under Import from file, or paste the JSON under Or paste settings.
- Check the list under "These settings will change". Each line shows the setting, the old value, and the new value, for example
Seconds: 10 → 90. A blank value shows as "(empty)". - Click Apply. Nothing changes before Apply. Cancel discards the import. "Settings applied." confirms it. "No settings to apply." means the file changes nothing.
- Set the records and Flow resources the note lists, then click Done.
If the clipboard is blocked or does not answer within about a second, the panel tries a second way to copy. If that also fails, or the download cannot start, a read-only Settings (JSON) box shows the JSON with "If the file did not download or the copy did not work, copy the settings below." "Copied." shows only when a copy worked.
What is not copied
- Collections and record variables, such as Records, Booked Records, Blocked Records, Records to Match, and the text collections such as Choice Labels (Collection), Row Labels (Collection), and Blocked Slots (Collection).
- The screen's values and outputs, such as Value, Start Date, End Date, Selected Record, Selected Slots, Completed, file Ids, and scanned values.
- Available Actions, and any setting that points to a Flow resource, such as
{!variable}.
The note at the top of Copy settings says the same. If a file has them, the preview lists them as ignored. On NC Buttons & Tiles, NC Picklist, and NC Lookup, the Object is copied, but a file cannot clear it.
Import rules
- Export saves only settings that have a value. An import does not clear settings the file leaves out. In a file you edit by hand,
nullor""clears a setting. - Numbers are rounded to whole numbers and kept in the field's allowed range. Changed values are listed, for example "Adjusted to the allowed range: Seconds: 9000 → 3600". Some ranges: NC Timer Seconds 1 to 3,600, NC QR Code Size 96 to 512, NC Date Time Slots Slot length 5 to 720 minutes, NC Date Range Minimum and Maximum nights 0 to 999, and NC Lookup Results shown 1 to 50, Characters before searching 0 to 10, and Recently used count 1 to 20.
- A value that is not one of a dropdown's choices, such as a layout, size, shape, or alignment, is skipped and listed under "Ignored (not an allowed value)". Letter case is fixed, so
PILLbecomespill. - The panel then checks the result the way Done does. If the file would make the component invalid, Apply stays off and a red message names the field, for example "Fix these before applying (change the file or the settings): Choices: Add choices, or choose a picklist field, records or an object."
- If the component still needs something after the import, Apply works, and the preview and "Settings applied." add "Still to set before you click Done:" with the field. For example, Records after the file sets Data Source to records. Set it, then click Done.
- Field settings, such as title, detail, filter, and sort fields, are copied as they are. They are not checked against the Object, so check them when the Object is different.
- A file from another NC component can be imported. The panel says "These settings are from" that component, and skips settings this component does not have. A Native Mobile Data Table file is refused with "This is not a settings file for these components."
Messages
| Message | Meaning |
|---|---|
| This is not valid settings JSON. | The text is not JSON, or it has no settings. |
| This is not a settings file for these components. | The file is not an NC settings file, for example a Mobile Data Table file. |
| This file is missing a valid settings version. | The file has no valid version number. |
| This file is from a newer version. Some settings may be skipped. | The known settings still import. |
| This file is too large. | The file is over 256 KB. |
| The file could not be read. | The browser could not open the file. Try again, or paste the JSON. |
| Ignored (not recognized), Ignored (wrong type) | The component has no such setting, or the value has the wrong type. The rest still imports. |
File format
The file is JSON with these keys. You can edit it by hand.
schema:nc.settingsversion:1component: the component's API name:ncButtons,ncPicklist,ncLookup,ncTimer,ncStepper,ncDateRange,ncPhotoSignature,ncDeviceCapture,ncDateTimeSlots,ncChoiceGrid, orncQrCodeexportedAt: the export time, for example2026-11-27T00:10:00.000Zproperties: the settings by the API names in each component's Properties table, for example{"seconds": 90, "allowPause": true, "layout": "large", "message": "Time is up"}. Values are true or false, numbers, or text.
The Native Mobile Data Table has its own Copy settings. See Native Flow and Data Table components.
Limits
- NC Device Capture hardware works only in the Salesforce mobile app, and only when the device offers the feature.
- NC Photo and Signature: photos need a Record Id. Clear does not delete a saved File.
- NC Timer moves the flow when time is up unless After the Timer is
none. The hidden layout still moves the flow. - NC Lookup Create new only sets outputs. The flow must create the record and reset Create New Requested.
- NC Lookup recent picks are stored in the browser, not in Salesforce.
- Get Records must store every field a component uses.
- Auto never picks Avatars, Swatches, Segmented, Rating, Chips, Small buttons, or the hidden timer.
- Some built-in texts added in this version show in English until they are translated.
- NC Date Time Slots: the week strip starts on Sunday. A slot cannot be picked once its start time has passed. Selected Date is a local Date. An empty incoming Selected Slots value does not clear existing picks.
- NC Choice Grid: do not put
=,;or,in values. Answers output the values. When no Row or Column Value is set, the label is used as the value. - NC QR Code: Code 128 is printable ASCII up to 80 characters. The Download button shows on desktop only. It is hidden on phones and tablets. A QR code holds up to about 2,300 characters at level M (QR standard limit; less for non-Latin text).