Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Build Visual Picker items by hand

Build Visual Picker cards by hand in a screen flow, with a title, a description, an icon, a "Most popular" tag and a plan that can't be picked.

A support rep sets up a new customer and has to pick a support plan: Basic, Plus or Premier. A dropdown hides what each plan includes. Three cards side by side show it, flag the plan most customers take, and keep Premier visible but out of reach until a contract is signed.

Visual Picker with three support plan cards, Basic, Plus tagged Most popular and selected, and Premier greyed out
Three plans as cards: Plus is tagged and selected, Premier is locked.

Before you start

Steps

1

Add a Visual Picker to a screen

Open a Screen element and drag the Avonni Visual Picker onto it. Give it an API Name such as Support_Plan_Picker: you will use it to read the pick later.

The Edit Visual Picker Component panel opens with three tabs: Properties, Interactions and Style.

2

Set the label and the selection type

In the Properties tab:

  • Label: Support plan.

  • Type: keep Radio. A customer has one support plan, so one pick.

  • Size: Large, so each card has room for its description.

3

Add the three plans

Set Data Source to Manual, then add three entries to Items. For each one, fill in:

Setting
Basic
Plus
Premier

Figure Title

Basic

Plus

Premier

Value

basic

plus

premier

Figure Description

Email support on business days.

Phone and email support, business hours.

24/7 phone support and a named engineer.

Figure Title and Figure Description print inside the card. Title and Description print under it: leave them empty here.

Value is what the flow receives when the rep picks the card, not the title. Keep it short and stable: you can rename the card later without breaking a Decision that tests plus.

4

Give each card an icon

Still inside each item, under Avatar, set Icon Name: standard:entitlement for Basic, standard:service_contract for Plus, standard:reward for Premier.

To show a picture instead of an icon, put its URL in Image Source and describe it in Image Alternative Text. When an item has both, the image wins.

Visual Picker item editor for the Plus plan showing Figure Title, Value, Figure Description, Avatar icon, a Most popular tag and a Response time field
Every card setting lives in its item: title, value, icon, tags and fields.
5

Tag the plan most customers take

Open the Plus item. Under Tags, add one tag with Label Most popular and Variant Brand.

The tag only labels the card. It does not pre-select Plus.

6

Keep Premier visible but locked

Open the Premier item and turn on Disabled. The card stays on screen, grayed out, and the rep can't pick it.

Disabled accepts a flow resource, so the lock can depend on data: map it to a Boolean formula resource such as {!Get_Account.NumberOfEmployees} < 100 to open Premier only to larger accounts.

7

Use the pick later in the flow

After the screen, the picked value is in the component's Value output: {!Support_Plan_Picker.value} holds basic or plus.

Test it in a Decision element (outcome Plus when {!Support_Plan_Picker.value} Equals plus), or write it to a field with Update Records.

8

Save and test

Save the flow and click Debug. The screen shows three cards in a row: Plus carries a Most popular tag, Premier is grayed out. Click Plus: a check mark appears on it. Click Basic: the check mark moves. Clicking Premier does nothing.

Click Next and open the debug details: the Visual Picker's value is plus or basic, the Value you typed, not the card's title.

Troubleshooting

The cards show an icon but no text

Size is Xx-Small or X-Small. At those two sizes the Visual Picker draws only the avatar and hides the titles and descriptions. Small is the smallest size that keeps the text.

The text sits under the cards instead of inside them

The text went into Title and Description. Move it to Figure Title and Figure Description, which print inside the card.

Every card is grayed out

Disabled is on in the Properties tab, which locks the whole picker. Turn it off there and turn on Disabled inside the Premier item only.

Was this helpful?